diff options
author | luxagraf <sng@luxagraf.net> | 2019-03-12 10:17:33 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2019-03-12 10:17:33 -0600 |
commit | 5ad48cd70260b0980a3030a282304c523ade7ce4 (patch) | |
tree | dbe3d4d5878984e8da00bc2af1626629f3a7f9f3 /design/templates/comments/form.html | |
parent | 1e207a1ea2da17b2975b5cdbec49ef5a51606955 (diff) |
moved old sass files, redid comment form styles
Diffstat (limited to 'design/templates/comments/form.html')
-rw-r--r-- | design/templates/comments/form.html | 20 |
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’t see it right away. And please remember Kurt Vonnegut's rule: “god damn it, you’ve got to be kind.” You can use Markdown or HTML to format your comments. The allowed tags are <code><b>, <i>, <em>, <strong>, <a></code>. To create a new paragraph hit return twice. </p> </div> |