Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% block head_extra %}
- {% load wysiwyg %}
- {% wysiwyg_setup %}
- {% endblock %}
- {% block content %}
- <div class="form news-detail small-12 small-centered columns ">
- <form action="" method="post" enctype="multipart/form-data">{% csrf_token %}
- <div class="news-detail__content row column">
- <label for="id_content">{% blocktrans trimmed %}Content{% endblocktrans %}</label>
- <textarea cols="40" id="id_content" name="content" rows="10"
- style="visibility: hidden; display: none;">{{ instance.content }}</textarea>
- {% wysiwyg_editor "id_content" %}
- <input class="button" type="submit" value="{% blocktrans trimmed %}Send{% endblocktrans %}"/>
- </div>
- </form>
- </div>
- {% endblock content %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement