Permalink
Browse files

Allow/fix description edit when no description is supplied.

  • Loading branch information...
1 parent b5196b4 commit 8c524b0f71c2e147c6e941be9efb04c3f79004f3 @sjuxax committed Oct 6, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 raggregate/templates/base/full.mak
@@ -62,9 +62,11 @@
<br />
% if story.description != u'':
<div id="description" class="story-description">
+ % else:
+ <div id="description">
+ % endif
${story.description | template_filters.render_md,n}
</div>
- % endif
##@TODO: make functionality to determine whether a user is logged in on display a reusable function
## I have vague memories of this but think it's on the server side, need to create a def that can
## be used in the Mako templates to determine this, would be much better that way.

0 comments on commit 8c524b0

Please sign in to comment.