fix: Some realignment on the attribute add view

pull/2489/head
iglocska 2017-09-01 17:51:18 +02:00
parent c09741ebfc
commit 55c55d65ed
2 changed files with 7 additions and 3 deletions

View File

@ -11,7 +11,7 @@
)); ));
?> ?>
</td> </td>
<td class="shortish" title="<?php echo h($element['description']); ?>"> <td class="short" title="<?php echo h($element['description']); ?>">
<?php <?php
$formSettings = array( $formSettings = array(
'type' => 'hidden', 'type' => 'hidden',
@ -42,6 +42,9 @@
echo ' :: ' . h($element['type']) . ''; echo ' :: ' . h($element['type']) . '';
?> ?>
</td> </td>
<td>
<?php echo h($element['description']); ?>
</td>
<td class="short"> <td class="short">
<?php <?php
$formSettings = array( $formSettings = array(
@ -54,7 +57,7 @@
echo $this->Form->input('Attribute.' . $k . '.category', $formSettings); echo $this->Form->input('Attribute.' . $k . '.category', $formSettings);
?> ?>
</td> </td>
<td> <td class="short">
<?php <?php
echo $this->element( echo $this->element(
'Objects/object_value_field', 'Objects/object_value_field',
@ -98,7 +101,7 @@
)); ));
?> ?>
</td> </td>
<td> <td class="short">
<?php <?php
echo $this->Form->input('Attribute.' . $k . '.comment', array( echo $this->Form->input('Attribute.' . $k . '.comment', array(
'type' => 'textarea', 'type' => 'textarea',

View File

@ -92,6 +92,7 @@
<tr> <tr>
<th>Save</th> <th>Save</th>
<th>Name :: type</th> <th>Name :: type</th>
<th>Description</th>
<th>Category</th> <th>Category</th>
<th>Value</th> <th>Value</th>
<th>IDS</th> <th>IDS</th>