Commit 85bc0ddfb09f338f2002b446e377d03f9b2691ab
1 parent
930fa080
Exists in
master
Fixes on Register form layout
Showing
2 changed files
with
6 additions
and
2 deletions
Show diff stats
pybossa/themes/default/static/css/theme.css
@@ -384,6 +384,10 @@ h6 small { | @@ -384,6 +384,10 @@ h6 small { | ||
384 | padding-top: 10px; | 384 | padding-top: 10px; |
385 | } | 385 | } |
386 | 386 | ||
387 | +.wl-register-form { | ||
388 | + margin-bottom: 24px; | ||
389 | +} | ||
390 | + | ||
387 | /* Home */ | 391 | /* Home */ |
388 | #wl-features { | 392 | #wl-features { |
389 | position: relative; | 393 | position: relative; |
pybossa/themes/default/templates/account/register.html
@@ -19,7 +19,7 @@ | @@ -19,7 +19,7 @@ | ||
19 | </p> | 19 | </p> |
20 | 20 | ||
21 | <legend>{{ _('Create an account') }}</legend> | 21 | <legend>{{ _('Create an account') }}</legend> |
22 | - <form method="post" class="form-horizontal" action="{{ url_for('account.register') }}" enctype="multipart/form-data"> | 22 | + <form method="post" class="form-horizontal wl-register-form" action="{{ url_for('account.register') }}" enctype="multipart/form-data"> |
23 | {{ form.hidden_tag() }} | 23 | {{ form.hidden_tag() }} |
24 | <fieldset class="upload-container"> | 24 | <fieldset class="upload-container"> |
25 | <div class="col-md-2 img-thumbnail"> | 25 | <div class="col-md-2 img-thumbnail"> |
@@ -46,7 +46,7 @@ | @@ -46,7 +46,7 @@ | ||
46 | <input id="avatar_upload_id" name="avatar_upload_id" type="hidden" value="{{ avatar_upload_id }}"> | 46 | <input id="avatar_upload_id" name="avatar_upload_id" type="hidden" value="{{ avatar_upload_id }}"> |
47 | <div class="form-actions"> | 47 | <div class="form-actions"> |
48 | <input type="submit" value="{{ _('Create an account') }}" class="btn btn-primary btn-lg" /> | 48 | <input type="submit" value="{{ _('Create an account') }}" class="btn btn-primary btn-lg" /> |
49 | - <input type="reset" value="{{ _('Cancel') }}" class="btn btn-default" /> | 49 | + <input type="reset" value="{{ _('Cancel') }}" class="btn btn-default btn-lg" /> |
50 | </div> | 50 | </div> |
51 | </fieldset> | 51 | </fieldset> |
52 | </form> | 52 | </form> |