Sha256: 73e5585a59dcd7682f5fc40293eb99480a9b65202d87d4d50fe3cb1d34a4988c

Contents?: true

Size: 725 Bytes

Versions: 151

Compression:

Stored size: 725 Bytes

Contents

<div class="actions">
  <%= @tag_begin %>= link_to '一覧', <%= @resources %>_path <%= @tag_end %>
  <%= @tag_begin %>= link_to '編集', edit_<%= @resource %>_path(@<%= @resource %>) <%= @tag_end %>
  <%= @tag_begin %>= link_to '削除', <%= @resource %>_path(@<%= @resource %>), :method => 'delete', :confirm => '削除します。よろしいですか?' <%= @tag_end %>
</div>

<table>
<% @model_class.columns.each do |column| -%>
<% next if %w{ id deleted }.include?(column.name.to_s) -%>
  <tr>
    <th><%= @tag_begin %>= <%= @model_class %>.human_attribute_name :<%= column.name %> <%= @tag_end %></th>
    <td><%= @tag_begin %>= @<%= @resource %>.<%= column.name %> <%= @tag_end %></td>
  </tr>
<% end -%>
</table>

Version data entries

151 entries across 151 versions & 1 rubygems

Version Path
daddy-0.9.19 templates/app/views/show.html.erb
daddy-0.9.18 templates/app/views/show.html.erb
daddy-0.9.17 templates/app/views/show.html.erb
daddy-0.9.16 templates/app/views/show.html.erb
daddy-0.9.15 templates/app/views/show.html.erb
daddy-0.9.14 templates/app/views/show.html.erb
daddy-0.9.13 templates/app/views/show.html.erb
daddy-0.9.12 templates/app/views/show.html.erb
daddy-0.9.11 templates/app/views/show.html.erb
daddy-0.9.10 templates/app/views/show.html.erb
daddy-0.9.9 templates/app/views/show.html.erb
daddy-0.9.8 templates/app/views/show.html.erb
daddy-0.9.7 templates/app/views/show.html.erb
daddy-0.9.6 templates/app/views/show.html.erb
daddy-0.9.5 templates/app/views/show.html.erb
daddy-0.9.4 templates/app/views/show.html.erb
daddy-0.9.3 templates/app/views/show.html.erb
daddy-0.9.2 templates/app/views/show.html.erb
daddy-0.9.1 templates/app/views/show.html.erb
daddy-0.9.0 templates/app/views/show.html.erb