summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Seguin <guillaume@segu.in>2008-04-07 14:09:10 +0200
committerGuillaume Seguin <guillaume@segu.in>2008-04-07 14:09:10 +0200
commit413e3d0e7f3560360407708fcb5cc881f8208ff8 (patch)
treef7e7e23fc426422f71aa8818d2369d5a871c3b5d
parent0e91790b6f517410045286dc1ae9c3d40da986bf (diff)
downloadmarks-413e3d0e7f3560360407708fcb5cc881f8208ff8.tar.gz
marks-413e3d0e7f3560360407708fcb5cc881f8208ff8.tar.bz2
* Cleanup home template by dynamically generating forms actions
-rw-r--r--templates/main/home.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/main/home.html b/templates/main/home.html
index 327d952..04f7da3 100644
--- a/templates/main/home.html
+++ b/templates/main/home.html
@@ -10,7 +10,7 @@
{% rounded_block_end %}
{% rounded_block_start 'halfblock' %}Ajouter une épreuve{% end_rounded_block_start %}
<div class="blockcontent">
- <form method="post" action="/">
+ <form method="post" action="{% url marks.main.views.home_view %}">
<ul>
{{ add_examination_form.as_ul }}
</ul>
@@ -35,7 +35,7 @@
<div class="spacer"></div>
{% rounded_block_start 'halfblock' %}Ajouter un jeu de coefficients{% end_rounded_block_start %}
<div class="blockcontent">
- <form method="post" action="/">
+ <form method="post" action="{% url marks.main.views.home_view %}">
<ul>
{{ add_ratings_form.as_ul }}
</ul>
@@ -60,7 +60,7 @@
<div class="spacer"></div>
{% rounded_block_start 'halfblock' %}Ajouter un jeu de notes{% end_rounded_block_start %}
<div class="blockcontent">
- <form method="post" action="/">
+ <form method="post" action="{% url marks.main.views.home_view %}">
<ul>
{{ add_marks_form.as_ul }}
</ul>