You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <form id="add_comment" action="{% url "add_comment" %}" method="post" accept-charset="utf-8">
- <input type="hidden" name="last_comment" value="$post.latest_comment" id="last_comment" />
- {% if visitor.logged_in %}
- <p>
- <span class="who">
- <a class="logout" href="{% url "logout" %}">${ "Log Out →" | translate }</a>
- ${ "Logged in as %s" | translate | format(visitor.full_name | fallback(visitor.login)) }
- </span>
- </p>
- {% else %}
- <p>
- <label for="author">${ "Your Name" | translate }</label>
- <input type="text" name="author" value="" id="author" />
- </p>
- <p>
- <label for="email">${ "Your E-Mail" | translate }</label>
- <input type="text" name="email" value="" id="email" />
- </p>
- <p>
- <label for="url">${ "Your Website" | translate }</label>
- <input type="text" name="url" value="" id="url" />
- </p>
- {% endif %}
- <p>
- <textarea name="body" rows="8" cols="40" class="wide"></textarea>
- </p>
-
- <p>
- {% if visitor.logged_in %}
- <input type="hidden" name="author" value="${ visitor.full_name | fallback(visitor.login) }" id="author" />
- <input type="hidden" name="email" value="$visitor.email" id="email" />
- <input type="hidden" name="url" value="$visitor.website" id="url" />
- {% endif %}
- <input type="hidden" name="post_id" value="$post.id" id="post_id" />
- <button type="submit">${ "Speak" | translate }</button>
- </p>
- </form>
|