comparison gpp/templates/membermap/index.html @ 133:c515b7401078

Use the new common way to apply markItUp to textareas and to get the smiley and markdown help dialogs for all the remaining apps except for forums and comments.
author Brian Neal <bgneal@gmail.com>
date Fri, 27 Nov 2009 00:21:47 +0000
parents 7f199c85a07c
children 13d052fbe4f1
comparison
equal deleted inserted replaced
132:06503edcc56b 133:c515b7401078
1 {% extends 'base.html' %} 1 {% extends 'base.html' %}
2 {% load core_tags %}
2 {% block title %}Member Map{% endblock %} 3 {% block title %}Member Map{% endblock %}
3 {% block custom_js %} 4 {% block custom_js %}
4 <script type="text/javascript" src="{{ MEDIA_URL }}js/membermap.js"></script> 5 <script type="text/javascript" src="{{ MEDIA_URL }}js/membermap.js"></script>
5 <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAql_1Xw9MGW3mOxzo8gLb3hSrh5-ALlu4lmYDsscYaAokjyRNqBRaVcqVr3jaDgMRVSK_3HydK9tYWw" type="text/javascript"></script> 6 <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAql_1Xw9MGW3mOxzo8gLb3hSrh5-ALlu4lmYDsscYaAokjyRNqBRaVcqVr3jaDgMRVSK_3HydK9tYWw" type="text/javascript"></script>
6 {{ form.media }} 7 {{ form.media }}
56 <li>Rome, Italy</li> 57 <li>Rome, Italy</li>
57 <li>5018EA, Tilburg, Netherlands</li> 58 <li>5018EA, Tilburg, Netherlands</li>
58 </ul> 59 </ul>
59 <form action="" method="post"> 60 <form action="" method="post">
60 {{ form.as_p }} 61 {{ form.as_p }}
61 <p> 62 {% comment_dialogs %}
62 <input type="submit" id="member_map_submit" name="submit" value="Submit" /> 63 <input type="submit" id="member_map_submit" name="submit" value="Submit" />
63 <input type="submit" id="member_map_delete" name="delete" value="Delete" /> 64 <input type="submit" id="member_map_delete" name="delete" value="Delete" />
64 </p>
65 </form> 65 </form>
66 <br />
66 {% else %} 67 {% else %}
67 <p> 68 <p>
68 The member map allows members to place themselves on a google map along with a short message. 69 The member map allows members to place themselves on a google map along with a short message.
69 This feature is only for registered users of SurfGuitar101.com. Please 70 This feature is only for registered users of SurfGuitar101.com. Please
70 <a href="{% url accounts-login %}">login</a> or 71 <a href="{% url accounts-login %}">login</a> or