Show More
Commit Description:
NEED TESTING...
Commit Description:
NEED TESTING
move to stronger parameter for xxx.new(params[
References:
File last commit:
Show/Diff file:
Action:
app/views/announcements/show.html.erb
| 37 lines
| 544 B
| text/plain
| TextLexer
|
|
r97 | <p> | ||
<b>Author:</b> | ||||
<%=h @announcement.author %> | ||||
</p> | ||||
<p> | ||||
|
r193 | <b>Title:</b> | ||
<%=h @announcement.title %> | ||||
</p> | ||||
<p> | ||||
|
r306 | <b>Notes:</b> | ||
<%=h @announcement.notes %> | ||||
</p> | ||||
<p> | ||||
|
r97 | <b>Body:</b> | ||
<%=h @announcement.body %> | ||||
</p> | ||||
<p> | ||||
<b>Published:</b> | ||||
<%=h @announcement.published %> | ||||
</p> | ||||
|
r151 | <p> | ||
<b>Show on front page:</b> | ||||
<%=h @announcement.frontpage %> | ||||
</p> | ||||
|
r162 | <p> | ||
<b>Show only in contest:</b> | ||||
<%=h @announcement.contest_only %> | ||||
</p> | ||||
|
r97 | |||
<%= link_to 'Edit', edit_announcement_path(@announcement) %> | | ||||
<%= link_to 'Back', announcements_path %> | ||||