Skip to content

Commit

Permalink
fixed: j25 missing form buttons options in admin GH-1039
Browse files Browse the repository at this point in the history
  • Loading branch information
pollen8 committed Nov 5, 2013
1 parent 9f50a07 commit 2a92097
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions administrator/components/com_fabrik/views/form/tmpl/edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,20 @@
<div class="clr"> </div>
</fieldset>

<fieldset class="adminform">
<legend><?php echo JText::_('COM_FABRIK_BUTTONS');?></legend>
<?php $buttons = array('copy', 'reset', 'apply', 'goback', 'save', 'delete');
foreach ($buttons as $button) :?>

<fieldset class="adminform">
<legend><?php echo JText::_('COM_FABRIK_BUTTONS') . ': ' . $button ;?></legend>
<ul class="adminformlist">
<?php foreach ($this->form->getFieldset('buttons') as $field) :?>
<li>
<?php echo $field->label . $field->input; ?>
</li>
<?php endforeach; ?>
<?php foreach ($this->form->getFieldset('buttons-' . $button) as $field) :?>
<li>
<?php echo $field->label . $field->input; ?>
</li>
<?php endforeach; ?>
</ul>
</fieldset>
</fieldset>
<?php endforeach; ?>

<fieldset class="adminform">
<legend><?php echo JText::_('COM_FABRIK_FORM_PROCESSING');?></legend>
Expand Down

0 comments on commit 2a92097

Please sign in to comment.