diff --git a/app/views/announcements/index.html.erb b/app/views/announcements/index.html.erb deleted file mode 100644 --- a/app/views/announcements/index.html.erb +++ /dev/null @@ -1,40 +0,0 @@ -

Listing announcements

- -<%= link_to 'New announcement', new_announcement_path %> - - - - - - - - - - - - -<% for announcement in @announcements %> - - <% @announcement = announcement %> - - - - - - - - -<% end %> -
UpdatedAnnouncementAuthorPublished
<%= time_ago_in_words announcement.updated_at %> - <% if !announcement.title.blank? %> - Title: <%=h announcement.title %>
- <% end %> - <% if !announcement.notes.blank? %> - Notes: <%=h announcement.notes %>
- <% end %> - <%=h announcement.body %> -
<%=h announcement.author %><%= in_place_editor_field :announcement, :published, {}, :rows => 1 %><%= link_to 'Show', announcement %><%= link_to 'Edit', edit_announcement_path(announcement) %><%= link_to 'Destroy', announcement, :confirm => 'Are you sure?', :method => :delete %>
- -
- -<%= link_to 'New announcement', new_announcement_path %>