Skip to content

Commit

Permalink
Merge pull request joomla#115 from brianteeman/cards
Browse files Browse the repository at this point in the history
edit view consistency
  • Loading branch information
khu5h1 authored Feb 17, 2023
2 parents ef0f643 + ed6a47e commit deded50
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

<?php echo HTMLHelper::_('uitab.addTab', 'myTab', 'details', empty($this->item->id) ? Text::_('COM_GUIDEDTOURS_STEP_NEW_STEP') : Text::_('COM_GUIDEDTOURS_STEP_EDIT_STEP')); ?>
<div class="row">
<div class="col-md-9">
<div class="col-lg-9">
<?php echo $this->form->renderField('description'); ?>

<?php if ($this->item->id != 0 && strpos($this->item->description, 'GUIDEDTOUR') !== false) : ?>
Expand Down
12 changes: 4 additions & 8 deletions administrator/components/com_guidedtours/tmpl/tour/edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

<?php echo HTMLHelper::_('uitab.addTab', 'myTab', 'details', empty($this->item->id) ? Text::_('COM_GUIDEDTOURS_NEW_TOUR') : Text::_('COM_GUIDEDTOURS_EDIT_TOUR')); ?>
<div class="row">
<div class="col-lg">
<div class="col-lg-9">
<?php echo $this->form->renderField('url'); ?>
<?php echo $this->form->renderField('description'); ?>

Expand All @@ -56,13 +56,9 @@
<?php endif; ?>
</div>

<div class="col-md-3">
<div class="card card-light">
<div class="card-body">
<?php echo LayoutHelper::render('joomla.edit.global', $this); ?>
<?php echo $this->form->renderField('extensions'); ?>
</div>
</div>
<div class="col-lg-3">
<?php echo LayoutHelper::render('joomla.edit.global', $this); ?>
<?php echo $this->form->renderField('extensions'); ?>
</div>
</div>
<?php echo HTMLHelper::_('uitab.endTab'); ?>
Expand Down

0 comments on commit deded50

Please sign in to comment.