/forum/templates/forum/new_topic.html
http://djforum.googlecode.com/ · HTML · 43 lines · 32 code · 9 blank · 2 comment · 0 complexity · 23c4513946cb4c604aa8a0d3260fd822 MD5 · raw file
- {% extends "forum/base.html" %}
- {% load customfilters %}
-
- {% block title %}
- DjangoPower??
- {% endblock %}
-
- {% block js %}
- <!-- jQuery library is required, see http://jquery.com/ -->
- <script type="text/javascript" src="/site_media/js/wym/jquery/jquery.js"></script>
- <!-- WYMeditor main JS file, packed version -->
- <script type="text/javascript" src="/site_media/js/wym/wymeditor/jquery.wymeditor.pack.js"></script>
-
- <script type="text/javascript">
-
- /* Here we replace each element with class 'wymeditor'
- * (typically textareas) by a WYMeditor instance.
- *
- * We could use the 'html' option, to initialize the editor's content.
- * If this option isn't set, the content is retrieved from
- * the element being replaced.
- */
-
- jQuery(function() {
- jQuery('.wymeditor').wymeditor({
- html: '',
- lang: 'zh_cn',
- stylesheet: 'styles.css'
- });
- });
-
- </script>
- {% endblock %}
-
- {% block content %}
- <h2>????</h2>
-
- <form action="." method="post">
- {{ form.as_p }}
- <input class="wymupdate" name="commit" type="submit" value="??" />
- </form>
-
- {% endblock %}