summaryrefslogtreecommitdiffstats
path: root/templates/profiles
diff options
context:
space:
mode:
Diffstat (limited to 'templates/profiles')
-rw-r--r--templates/profiles/create_profile.html2
-rw-r--r--templates/profiles/edit_profile.html13
-rw-r--r--templates/profiles/profile_detail.html10
-rw-r--r--templates/profiles/select_profile.html13
4 files changed, 37 insertions, 1 deletions
diff --git a/templates/profiles/create_profile.html b/templates/profiles/create_profile.html
index 2eed3e4..7e32597 100644
--- a/templates/profiles/create_profile.html
+++ b/templates/profiles/create_profile.html
@@ -3,7 +3,7 @@
{% block content %}
<form method="post">
-{{ form }}
+{{ form.as_p }}
<input type="submit" />
</form>
diff --git a/templates/profiles/edit_profile.html b/templates/profiles/edit_profile.html
new file mode 100644
index 0000000..7e32597
--- /dev/null
+++ b/templates/profiles/edit_profile.html
@@ -0,0 +1,13 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+<form method="post">
+{{ form.as_p }}
+<input type="submit" />
+</form>
+
+{% if form.errors %}
+ <p class="errornote">Please correct the errors below</p>
+{% endif %}
+{% endblock %} \ No newline at end of file
diff --git a/templates/profiles/profile_detail.html b/templates/profiles/profile_detail.html
new file mode 100644
index 0000000..543785f
--- /dev/null
+++ b/templates/profiles/profile_detail.html
@@ -0,0 +1,10 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+{{ profile }}
+
+{% if form.errors %}
+ <p class="errornote">Please correct the errors below</p>
+{% endif %}
+{% endblock %} \ No newline at end of file
diff --git a/templates/profiles/select_profile.html b/templates/profiles/select_profile.html
new file mode 100644
index 0000000..7e32597
--- /dev/null
+++ b/templates/profiles/select_profile.html
@@ -0,0 +1,13 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+<form method="post">
+{{ form.as_p }}
+<input type="submit" />
+</form>
+
+{% if form.errors %}
+ <p class="errornote">Please correct the errors below</p>
+{% endif %}
+{% endblock %} \ No newline at end of file