@ -288,4 +288,10 @@ module RbCommonHelper
def get_backlogs_preference(assignee, attr)
assignee.is_a?(User) ? assignee.backlogs_preference(attr) : '#24B3E7'
end
def template_story
Story.new.tap do |s|
s.type = available_story_types.first
@ -77,5 +77,5 @@ See doc/COPYRIGHT.rdoc for more details.
</select>
<div id="story_template">
<%= render :partial => 'rb_stories/story', :object => Story.new %>
<%= render :partial => 'rb_stories/story', :object => template_story %>
</div>