gremmie@1: {% extends 'base.html' %} gremmie@1: {% load comment_tags %} bgneal@6: {% load script_tags %} gremmie@1: {% block title %}Photo Of The Day{% endblock %} gremmie@1: {% block custom_css %} gremmie@1: gremmie@1: gremmie@1: {% endblock %} gremmie@1: {% block custom_js %} bgneal@6: {% script_tags "jquery" %} bgneal@6: {% script_tags "markitup" %} gremmie@1: gremmie@1: {% endblock %} gremmie@1: {% block content %} gremmie@1:

Photo Of The Day

gremmie@1:

{% now "l, F d, Y" %}

gremmie@1:
gremmie@1: {% if potd %} gremmie@1: {{ potd.caption }} gremmie@1:

{{ potd.caption }}

gremmie@1:

gremmie@1: Submitted by gremmie@1: {{ potd.user.username }} gremmie@1: on {{ potd.date_added|date:"d F Y" }}.
gremmie@1: This photo has been Photo of the Day {{ potd.potd_count }} time{{ potd.potd_count|pluralize }}. gremmie@1:

gremmie@1:

{{ potd.description }}

gremmie@1:

gremmie@1: If you would like us to feature your photo, send it along with your username, a title, and gremmie@1: short description to admin@surfguitar101.com. gremmie@1:

gremmie@1: {% get_comment_count for potd as comment_count %} gremmie@1:

This photo has {{ comment_count }} comment{{ comment_count|pluralize }}.

gremmie@1:
gremmie@1:
gremmie@1: {% render_comment_list potd %} gremmie@1: {% if potd.can_comment_on %} gremmie@1:

Leave a comment?

gremmie@1: {% render_comment_form for potd %} bgneal@6:
gremmie@1: {% else %} gremmie@1:

Comments are allowed only on today's photo of the day. If you'd like to share your thoughts on this photo gremmie@1: with the site staff, you can contact us directly.

gremmie@1: {% endif %} gremmie@1: {% else %} gremmie@1:

We're sorry, there doesn't seem to be a photo of the day right now.

gremmie@1: {% endif %} gremmie@1: {% endblock %}