Skip to content

Commit

Permalink
Merge pull request #20 from brianteeman/patch-3
Browse files Browse the repository at this point in the history
Swap options and permissions tabsets
  • Loading branch information
laoneo committed Apr 1, 2016
2 parents 6ea5d19 + c892ccf commit e52980a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions administrator/components/com_fields/views/field/tmpl/edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,17 +101,17 @@
</div>
</div>
<?php echo JHtml::_('bootstrap.endTab'); ?>


<?php
$this->set('ignore_fieldsets', array('fieldparams'));
echo JLayoutHelper::render('joomla.edit.params', $this); ?>

<?php if ($this->canDo->get('core.admin')) : ?>
<?php echo JHtml::_('bootstrap.addTab', 'myTab', 'rules', JText::_('COM_FIELDS_VIEW_FIELD_FIELDSET_RULES', true)); ?>
<?php echo $this->form->getInput('rules'); ?>
<?php echo JHtml::_('bootstrap.endTab'); ?>
<?php endif; ?>

<?php
$this->set('ignore_fieldsets', array('fieldparams'));
echo JLayoutHelper::render('joomla.edit.params', $this); ?>

<?php echo JHtml::_('bootstrap.endTabSet'); ?>

<?php echo $this->form->getInput('context'); ?>
Expand Down

0 comments on commit e52980a

Please sign in to comment.