Changeset - c42f2686cf42
[Not reviewed]
0 1 0
Tobias - 6 years ago 2018-09-29 05:14:21
tobias@localhost.localdomain
Update profile form
1 file changed with 9 insertions and 13 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/registrasion/profile_form.html
Show inline comments
 
{% 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 %}
0 comments (0 inline, 0 general)