git.ithinksw.org
/
~kgodey
/
maayanwich.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Made the CSS pretty (the CSS file hasn't been committed yet), plus added comment...
[~kgodey/maayanwich.git]
/
templates
/
sandwich.html
diff --git
a/templates/sandwich.html
b/templates/sandwich.html
index
1e8e621
..
1d650ea
100644
(file)
--- a/
templates/sandwich.html
+++ b/
templates/sandwich.html
@@
-3,8
+3,10
@@
{% block title %}Add a sandwich{% endblock %}
{% block content %}
<h1 class="pagetitle">Add a new sandwich</h1>
{% block title %}Add a sandwich{% endblock %}
{% block content %}
<h1 class="pagetitle">Add a new sandwich</h1>
- <form enctype="multipart/form-data" action="/addsandwich/" method="post">
+ <span class="formspan">
+ <form enctype="multipart/form-data" action="{% url add_sandwich %}" method="post" class="cssform">
{{ sform.as_p }}
<input type="submit" value="Submit" />
</form>
{{ sform.as_p }}
<input type="submit" value="Submit" />
</form>
+ </span>
{% endblock %}
\ No newline at end of file
{% endblock %}
\ No newline at end of file