summaryrefslogtreecommitdiff
path: root/design/templates/comments/form.html
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2019-03-12 10:17:33 -0600
committerluxagraf <sng@luxagraf.net>2019-03-12 10:17:33 -0600
commit5ad48cd70260b0980a3030a282304c523ade7ce4 (patch)
treedbe3d4d5878984e8da00bc2af1626629f3a7f9f3 /design/templates/comments/form.html
parent1e207a1ea2da17b2975b5cdbec49ef5a51606955 (diff)
moved old sass files, redid comment form styles
Diffstat (limited to 'design/templates/comments/form.html')
-rw-r--r--design/templates/comments/form.html20
1 files changed, 9 insertions, 11 deletions
diff --git a/design/templates/comments/form.html b/design/templates/comments/form.html
index dcb83d4..6bc0edf 100644
--- a/design/templates/comments/form.html
+++ b/design/templates/comments/form.html
@@ -6,20 +6,18 @@
<input type="hidden" name="rder" value="{{ form.instance.content_object.get_absolute_url }}" />
{% for field in form %}
{% if field.is_hidden %}
- <div>{{ field }}</div>
+ {{ field }}
{% else %}
- {% if field.errors %}{{ field.errors }}{% endif %}
- <p
- {% if field.errors %} class="error"{% endif %}
- {% ifequal field.name "honeypot" %} style="display:none;"{% endifequal %}>
- {{ field.label_tag }} {{ field }}
- </p>
+ <fieldset {% if field.errors %} class="error"{% endif %} {% ifequal field.name "honeypot" %} style="display:none;"{% endifequal %}>
+ {{ field.label_tag }}
+ {%ifequal field.name "comment"%}<div class="textarea-rounded">{{ field }}</div>{%else%}{{field}}{%endifequal%}
+ </fieldset>
{% endif %}
{% endfor %}
- <p class="submit">
- <input type="submit" name="post" class="submit-post" value="{% trans "Post" %}" />
- <input type="submit" name="preview" class="submit-preview" value="{% trans "Preview" %}" />
- </p>
+ <div class="submit">
+ <input type="submit" name="post" class="submit-post btn" value="{% trans "Post" %}" />
+ <input type="submit" name="preview" class="submit-preview btn" value="{% trans "Preview" %}" />
+ </div>
</form>
<p style="font-size: 95%;"><strong>All comments are moderated</strong>, so you won&#8217;t see it right away. And please remember Kurt Vonnegut's rule: &#8220;god damn it, you&#8217;ve got to be kind.&#8221; You can use Markdown or HTML to format your comments. The allowed tags are <code>&lt;b&gt;, &lt;i&gt;, &lt;em&gt;, &lt;strong&gt;, &lt;a&gt;</code>. To create a new paragraph hit return twice. </p>
</div>