Skip to content

Commit

Permalink
First and last name on the same line.
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Lamb <lamby@debian.org>
  • Loading branch information
lamby authored and rhertzog committed Sep 29, 2012
1 parent 61be7b8 commit 60467c4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/templates/registration/view.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,9 @@
<label class="control-label" for="{{ form.first_name.id_for_label }}">Name</label>
<div class="controls">
<input type="text" id="{{ form.first_name.id_for_label }}" name="{{ form.first_name.html_name }}" placeholder="First name" value="{{ form.first_name.value|default:"" }}">
<span class="help-inline">
{% for x in form.errors.first_name %}{{ x }}{% endfor %}
</span>
<br>
<br>
<input type="text" id="{{ form.last_name.id_for_label }}" name="{{ form.last_name.html_name }}" placeholder="Last name" value="{{ form.last_name.value|default:"" }}">
<span class="help-inline">
{% for x in form.errors.first_name %}{{ x }}{% endfor %}
{% for x in form.errors.last_name %}{{ x }}{% endfor %}
</span>
</div>
Expand Down

0 comments on commit 60467c4

Please sign in to comment.