Sha256: 0e89a4633a6cf746c43c1684bdd5c1e94412cca836e3345def00cf4468d1166f

Contents?: true

Size: 437 Bytes

Versions: 9

Compression:

Stored size: 437 Bytes

Contents

<h1>Article#show</h1>

<%= attributes_table_for @article do |t| %>
  <% t.row :title %>
  <% t.row :body do |article| %>
    <%= truncate(article.body) %>
  <% end %>
  <% t.row :created_at %>
  <% t.row :updated_at %>
  <% t.row do |article| %>
    <ul>
      <li><%= link_to "Edit", edit_article_path(article) %></li>
      <li><%= link_to "Destroy", edit_article_path(article), method: :delete %></li>
    </ul>
  <% end %>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
table_help-0.2.0 spec/fake_app/app/views/articles/show.html.erb
table_help-0.1.7 spec/fake_app/app/views/articles/show.html.erb
table_help-0.1.6 spec/fake_app/app/views/articles/show.html.erb
table_help-0.1.5 spec/fake_app/app/views/articles/show.html.erb
table_help-0.1.4 spec/fake_app/app/views/articles/show.html.erb
table_help-0.1.3 spec/fake_app/app/views/articles/show.html.erb
table_help-0.1.2 spec/fake_app/app/views/articles/show.html.erb
table_help-0.1.1 spec/fake_app/app/views/articles/show.html.erb
table_help-0.1.0 spec/fake_app/app/views/articles/show.html.erb