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" %}
|
{% extends "registrasion/base.html" %}
|
||||||
{% load lca2018_tags %}
|
{% 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 %}
|
{% block scripts_extra %}
|
||||||
{{ form.media.js }}
|
{{ form.media.js }}
|
||||||
|
@ -25,19 +21,19 @@
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% 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="">
|
<form class="form-horizontal" method="post" action="">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
{% include "_form_snippet.html" with form=form %}
|
{% include "_form_snippet.html" with form=form %}
|
||||||
<br />
|
<br />
|
||||||
<div class="btn-group">
|
<input class="btn btn-primary" type="submit" value="Save Profile" />
|
||||||
<input class="btn btn-success" type="submit" value="Save Profile" />
|
{% if user.attendee %}
|
||||||
{% if user.attendee %}
|
<a class="btn btn-light" href="{% url "dashboard" %}">Cancel</a>
|
||||||
<a class="btn btn-info" href="{% url "dashboard" %}">Cancel</a>
|
{% endif %}
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue