diff --git a/app/views/announcements/index.html.erb b/app/views/announcements/index.html.erb
--- a/app/views/announcements/index.html.erb
+++ b/app/views/announcements/index.html.erb
@@ -27,7 +27,8 @@
<%=h announcement.body %>
<%=h announcement.author %> |
- <%= in_place_editor_field :announcement, :published, {}, :rows => 1 %> |
+ <%= check_box_tag :published, 1, announcement.published, class: 'bootstrap-switch', data: {size: 'small'} %> |
+
<%= link_to 'Show', announcement %> |
<%= link_to 'Edit', edit_announcement_path(announcement) %> |
<%= link_to 'Destroy', announcement, :confirm => 'Are you sure?', :method => :delete %> |