Sha256: d9cf6e1102a9a7f662cb45f3744c9a9ea3999a8ca0a312fcb09eb3fa81297fe7

Contents?: true

Size: 511 Bytes

Versions: 27

Compression:

Stored size: 511 Bytes

Contents

<%% div_for <%= singular_name %> do %>
<% for attribute in attributes -%>
  <p>
    <label><%= attribute.name %></label>: <%%=h <%= singular_name %>.<%= attribute.name %> %>
  </p>
<% end -%>
  
  <div class="actions">
    <%%= link_to 'Show', <%= singular_name %> %> |
    <%%= link_to 'Edit', edit_<%= singular_name %>_path(<%= singular_name %>), :class => :edit %> |
    <%%= link_to 'Destroy', <%= singular_name %>, :confirm => 'Are you sure?', :method => :delete, :class => :destroy %>
  </div>
<%% end -%>

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
right-rails-0.4.3 generators/right_scaffold/templates/view__item.html.erb
right-rails-0.4.2 generators/right_scaffold/templates/view__item.html.erb
right-rails-0.4.1 generators/right_scaffold/templates/view__item.html.erb
right-rails-0.4.0 generators/right_scaffold/templates/view__item.html.erb
right-rails-0.3.2 generators/right_scaffold/templates/view__item.html.erb
right-rails-0.3.1 generators/right_scaffold/templates/view__item.html.erb
right-rails-0.3.0 generators/right_scaffold/templates/view__item.html.erb