mirror of
https://github.com/tiyn/container-critique.git
synced 2026-02-02 14:44:47 +01:00
src: rich text editor added
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
<a href="{{ url_for('register') }}">Register</a>
|
||||
{% else %}
|
||||
<a href="{{ url_for('logout') }}">Logout</a>
|
||||
-
|
||||
<a href="{{ url_for('write') }}">Write entry</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
@@ -22,11 +22,14 @@
|
||||
{% endfor %}
|
||||
</p>
|
||||
<p>
|
||||
|
||||
{{ form.text.label }}<br>
|
||||
{{ form.text }}
|
||||
{% for error in form.text.errors %}
|
||||
<span style="color: red;">[{{ error }}]</span>
|
||||
{% endfor %}
|
||||
{{ ckeditor.load() }}
|
||||
{{ ckeditor.config(name="text") }}
|
||||
</p>
|
||||
<p>
|
||||
{{ form.rating.label }}<br>
|
||||
|
||||
Reference in New Issue
Block a user