Skip to content
Permalink
Browse files

Change "new account" button into a link

The "new account" button is implemented as a standalone form, but since
the destination page is not required to do any action, a link is best
suited instead.

A link button also avoids browser warnings when going back (eg, after a
validation error when submitting the actual form).

Fixes: #25112
  • Loading branch information...
cproensa authored and dregad committed Dec 29, 2018
1 parent de71b42 commit da62c7bf3a46c6212da92dc2d038aa00487b1ccc
Showing with 1 addition and 1 deletion.
  1. +1 −1 manage_user_page.php
@@ -299,7 +299,7 @@
<div class="widget-toolbox padding-8 clearfix">
<div id="manage-user-div" class="form-container">
<div class="pull-left">
<?php print_form_button( 'manage_user_create_page.php', lang_get( 'create_new_account_link' ), null, null, 'btn btn-primary btn-sm btn-white btn-round' ) ?>
<?php print_link_button( 'manage_user_create_page.php', lang_get( 'create_new_account_link' ),'btn-sm' ) ?>
</div>
<?php if( $f_filter === 'UNUSED' ) { ?>
<div class="pull-left">

0 comments on commit da62c7b

Please sign in to comment.
You can’t perform that action at this time.