Update profile form
This commit is contained in:
parent
8bffe45d54
commit
c42f2686cf
1 changed files with 9 additions and 13 deletions
|
@ -1,11 +1,7 @@
|
|||
{% extends "registrasion/base.html" %}
|
||||
{% load lca2018_tags %}
|
||||
|
||||
{% block header_title %}Your profile{% endblock %}
|
||||
{% block header_paragraph %}
|
||||
These details will appear on your badge, your invoices, and will be used
|
||||
to order catered food at the conference.
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block scripts_extra %}
|
||||
{{ form.media.js }}
|
||||
|
@ -25,19 +21,19 @@
|
|||
</script>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% block proposals_body %}
|
||||
<h1>Your Profile</h1>
|
||||
<p>These details will appear on your badge, your invoices, and will be used to order catered food at the conference.</p>
|
||||
|
||||
<form class="form-horizontal" method="post" action="">
|
||||
{% csrf_token %}
|
||||
|
||||
<fieldset>
|
||||
{% include "_form_snippet.html" with form=form %}
|
||||
<br />
|
||||
<div class="btn-group">
|
||||
<input class="btn btn-success" type="submit" value="Save Profile" />
|
||||
{% if user.attendee %}
|
||||
<a class="btn btn-info" href="{% url "dashboard" %}">Cancel</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<input class="btn btn-primary" type="submit" value="Save Profile" />
|
||||
{% if user.attendee %}
|
||||
<a class="btn btn-light" href="{% url "dashboard" %}">Cancel</a>
|
||||
{% endif %}
|
||||
</fieldset>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue