Sha256: 702e07abb2a43c2a53e3dba87f2f4e4ac20a53cb940dfb91ab40ce258007a4e5

Contents?: true

Size: 737 Bytes

Versions: 2

Compression:

Stored size: 737 Bytes

Contents

<h1>Listing example_prgs</h1>

<table>
  <thead>
    <tr>
      <th>Subject</th>
      <th>Body</th>
      <th>Published</th>
      <th></th>
      <th></th>
      <th></th>
    </tr>
  </thead>

  <tbody>
    <% @example_prgs.each do |example_prg| %>
      <tr>
        <td><%= example_prg.subject %></td>
        <td><%= example_prg.body %></td>
        <td><%= example_prg.published %></td>
        <td><%= link_to 'Show', example_prg %></td>
        <td><%= link_to 'Edit', edit_example_prg_path(example_prg) %></td>
        <td><%= link_to 'Destroy', example_prg, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Example prg', new_example_prg_path %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails-prg-0.1.1 spec/dummy/app/views/example_prgs/index.html.erb
rails-prg-0.1.0 spec/dummy/app/views/example_prgs/index.html.erb