speaker templates
This commit is contained in:
parent
df1f1dd2f4
commit
0426d8d877
2 changed files with 46 additions and 0 deletions
23
symposion_project/templates/speakers/speaker_create.html
Normal file
23
symposion_project/templates/speakers/speaker_create.html
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{% extends "auth_base.html" %}
|
||||||
|
|
||||||
|
{% load bootstrap_tags %}
|
||||||
|
{% load i18n %}
|
||||||
|
{% load boxes_tags %}
|
||||||
|
|
||||||
|
{% block page_title %}{% trans "Create Speaker Profile" %}{% endblock %}
|
||||||
|
|
||||||
|
{% block body %}
|
||||||
|
{% box "speaker-profile" %}
|
||||||
|
|
||||||
|
<form method="POST" action="" enctype="multipart/form-data" class="form-horizontal">
|
||||||
|
{% csrf_token %}
|
||||||
|
<legend>{% trans "Create Speaker Profile" %}</legend>
|
||||||
|
<fieldset>
|
||||||
|
{{ form|as_bootstrap }}
|
||||||
|
</fieldset>
|
||||||
|
<div class="form-actions">
|
||||||
|
<input class="btn btn-primary" type="submit" value="Save" />
|
||||||
|
<a class="btn" href="{% url dashboard %}">Cancel</a>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
{% endblock %}
|
23
symposion_project/templates/speakers/speaker_edit.html
Normal file
23
symposion_project/templates/speakers/speaker_edit.html
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{% extends "auth_base.html" %}
|
||||||
|
|
||||||
|
{% load bootstrap_tags %}
|
||||||
|
{% load i18n %}
|
||||||
|
{% load boxes_tags %}
|
||||||
|
|
||||||
|
{% block page_title %}{% trans "Edit Speaker Profile" %}{% endblock %}
|
||||||
|
|
||||||
|
{% block body %}
|
||||||
|
{% box "speaker-profile" %}
|
||||||
|
|
||||||
|
<form method="POST" action="" enctype="multipart/form-data" class="form-horizontal">
|
||||||
|
{% csrf_token %}
|
||||||
|
<legend>{% trans "Edit Speaker Profile" %}</legend>
|
||||||
|
<fieldset>
|
||||||
|
{{ form|as_bootstrap }}
|
||||||
|
</fieldset>
|
||||||
|
<div class="form-actions">
|
||||||
|
<input class="btn btn-primary" type="submit" value="Save" />
|
||||||
|
<a class="btn" href="{% url dashboard %}">Cancel</a>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
{% endblock %}
|
Loading…
Reference in a new issue