Sha256: 83011f98e50332178b76f6fa9bffc4b58f2726229189ed0669cf70a4c38b6d1e

Contents?: true

Size: 433 Bytes

Versions: 1

Compression:

Stored size: 433 Bytes

Contents

<h1>Listing news</h1>

<table>
  <tr>
    <th>Title</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @news.each do |new| %>
  <tr>
    <td><%= new.title %></td>
    <td><%= link_to 'Show', new %></td>
    <td><%= link_to 'Edit', edit_new_path(new) %></td>
    <td><%= link_to 'Destroy', new, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New new', new_news_url %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
news-0.2.0 app/views/news/news/index.html.erb