parent
ce8a148cbe
commit
ec92478bc9
|
@ -1,7 +1,7 @@
|
|||
<% if f.object.errors.count == 1 && f.object.already_posted_story %>
|
||||
<div class="flash-error">
|
||||
<h2>Error: This story was already submitted <%=
|
||||
time_ago_in_words(f.object.already_posted_story.created_at) %></h2>
|
||||
time_ago_in_words_label(f.object.already_posted_story.created_at) %></h2>
|
||||
<p>
|
||||
Please view the <a href="<%= f.object.already_posted_story.comments_path %>"
|
||||
target="_blank">previous discussion</a> for this story.
|
||||
|
@ -12,8 +12,8 @@
|
|||
<% elsif !f.object.errors.any? && f.object.already_posted_story %>
|
||||
<div class="flash-notice">
|
||||
<h2>Note: This story was already submitted <%=
|
||||
time_ago_in_words(f.object.already_posted_story.created_at) %>, but may
|
||||
be submitted again.</h2>
|
||||
time_ago_in_words_label(f.object.already_posted_story.created_at) %>, but
|
||||
may be submitted again.</h2>
|
||||
<p>
|
||||
Please view the <a href="<%= f.object.already_posted_story.comments_path %>"
|
||||
target="_blank">previous discussion</a> for this story first. If the content
|
||||
|
|
Loading…
Reference in New Issue