Merge lp:~daker/loco-team-portal/fix.1153857 into lp:loco-team-portal

Proposed by Adnane Belmadiaf
Status: Merged
Approved by: Chris Johnston
Approved revision: 624
Merged at revision: 624
Proposed branch: lp:~daker/loco-team-portal/fix.1153857
Merge into: lp:loco-team-portal
Diff against target: 43 lines (+8/-8)
2 files modified
loco_directory/templates/meetings/agenda_item_new.html (+4/-4)
loco_directory/templates/meetings/agenda_item_update.html (+4/-4)
To merge this branch: bzr merge lp:~daker/loco-team-portal/fix.1153857
Reviewer Review Type Date Requested Status
Chris Johnston Approve
Review via email: mp+153010@code.launchpad.net

Commit message

Fixed csrf for agenda form

To post a comment you must log in.
Revision history for this message
Chris Johnston (cjohnston) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'loco_directory/templates/meetings/agenda_item_new.html'
--- loco_directory/templates/meetings/agenda_item_new.html 2012-06-07 04:19:26 +0000
+++ loco_directory/templates/meetings/agenda_item_new.html 2013-03-12 20:43:25 +0000
@@ -22,13 +22,13 @@
22{% block content %}22{% block content %}
23<div class="row">23<div class="row">
24<section class="span-9">24<section class="span-9">
25 <form action="." method="post">25 <form action="." method="post">{% csrf_token %}
26 <fieldset>26 <fieldset>
27 <h3>{% trans "Add new Agenda Item for " %}{{ team_meeting_object.name}}</h3>27 <h3>{% trans "Add new Agenda Item for " %}{{ team_meeting_object.name}}</h3>
28 {{ form.as_template }}28 {{ form.as_template }}
29 </fieldset>29 </fieldset>
30 {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %} 30 {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %}
31 <input type="submit" name="submit" value="{% trans "Submit" %}" class="submit-button" /> 31 <input type="submit" name="submit" value="{% trans "Submit" %}" class="submit-button" />
32 </form>32 </form>
33</section>33</section>
34</div>34</div>
3535
=== modified file 'loco_directory/templates/meetings/agenda_item_update.html'
--- loco_directory/templates/meetings/agenda_item_update.html 2012-06-07 04:19:26 +0000
+++ loco_directory/templates/meetings/agenda_item_update.html 2013-03-12 20:43:25 +0000
@@ -23,13 +23,13 @@
23{% block content %}23{% block content %}
24<div class="row">24<div class="row">
25<section class="span-9">25<section class="span-9">
26 <form action="." method="post">26 <form action="." method="post">{% csrf_token %}
27 <fieldset>27 <fieldset>
28 <h3>{% trans "Update Agenda Item" %}</h3>28 <h3>{% trans "Update Agenda Item" %}</h3>
29 {{ form.as_template }}29 {{ form.as_template }}
30 </fieldset>30 </fieldset>
31 {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %} 31 {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %}
32 <input type="submit" name="submit" value="{% trans "Submit" %}" class="submit-button" /> 32 <input type="submit" name="submit" value="{% trans "Submit" %}" class="submit-button" />
33 </form>33 </form>
34 </section>34 </section>
35</div>35</div>

Subscribers

People subscribed via source and target branches