ensl.org/app/views/log_events/index.html.erb

20 lines
466 B
Text

<h1>Listing log_events</h1>
<table>
<tr>
<th>Name</th>
</tr>
<% @log_events.each do |log_event| %>
<tr>
<td><%=h log_event.name %></td>
<td><%= link_to 'Show', log_event %></td>
<td><%= link_to 'Edit', edit_log_event_path(log_event) %></td>
<td><%= link_to 'Destroy', log_event, :confirm => 'Are you sure?', :method => :delete %></td>
</tr>
<% end %>
</table>
<br />
<%= link_to 'New log_event', new_log_event_path %>