Skip to content

Commit

Permalink
Improved accessibility of Edit Your Profile form
Browse files Browse the repository at this point in the history
  • Loading branch information
hardik-codes committed Mar 4, 2019
1 parent 5a6965e commit 46c6eb2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/com_users/tmpl/profile/edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,11 @@
<?php echo Text::_('JSUBMIT'); ?>
</span>
</button>
<a class="btn btn-danger" href="<?php echo Route::_('index.php?option=com_users&view=profile'); ?>" title="<?php echo Text::_('JCANCEL'); ?>"><?php echo Text::_('JCANCEL'); ?></a>
<button class="btn btn-danger" href="<?php echo Route::_('index.php?option=com_users&view=profile'); ?>" title="<?php echo Text::_('JCANCEL'); ?>">
<span>
<?php echo Text::_('JCANCEL'); ?>
</span>
</button>
<input type="hidden" name="option" value="com_users">
<input type="hidden" name="task" value="profile.save">
</div>
Expand Down

0 comments on commit 46c6eb2

Please sign in to comment.