Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Fix bug #74 - not assuming that all entries will have a category #75

Merged
merged 1 commit into from Dec 4, 2012

Conversation

rossbruniges
Copy link
Contributor

as right now it's an optional field

<h2 class="whimper">Category</h2>
<p><a href="{{ url('submissions.entry_list', category=entry.category.slug) }}">{{ entry.category }}</a></p>
{% endif %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we're being particular, the (non-existent) style guide suggests the content of this {% if ... %} block should be indented.

rossbruniges added a commit that referenced this pull request Dec 4, 2012
Fix bug #74 - not assuming that all entries will have a category
@rossbruniges rossbruniges merged commit 7e5355f into mozilla:master Dec 4, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants