Skip to content

Commit

Permalink
Use card for registration forms
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Nov 15, 2018
1 parent 1b43586 commit 15e2c7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/user/register.mako
Expand Up @@ -127,12 +127,12 @@ def inherit(context):
});
</script>
<div id="registrationForm" class="toolForm">
<div id="registrationForm" class="card">
## only display the prepopulate form to admins
%if show_user_prepopulate_form:
<form name="registration" id="prepopulateform" action="${form_action}" method="post" >
<input type="hidden" name="session_csrf_token" value="${trans.session_csrf_token}" />
<div class="toolFormTitle">Pre-populate an account through LDAP</div>
<div class="card-header">Pre-populate an account through LDAP</div>
<div class="form-row">
<label>Email address:</label>
<input id="email_input" type="text" name="email" value="${email | h}" size="40"/>
Expand All @@ -154,7 +154,7 @@ def inherit(context):
%endif
<form name="registration" id="registration" action="${form_action}" method="post" >
<input type="hidden" name="session_csrf_token" value="${trans.session_csrf_token}" />
<div class="toolFormTitle">Create account</div>
<div class="card-header">Create account</div>
<div class="form-row">
<label>Email address:</label>
<input id="email_input" type="text" name="email" value="${email | h}" size="40"/>
Expand Down

0 comments on commit 15e2c7f

Please sign in to comment.