Sha256: 3e160835fb926c50ceb0ce47696dc603eae235fc2abbb70cedf5869e8a7864ed

Contents?: true

Size: 448 Bytes

Versions: 1

Compression:

Stored size: 448 Bytes

Contents

<p id="notice"><%%= notice %></p>

<% for attribute in attributes -%>
<p>
  <b><%= attribute.human_name %>:</b>
  <%%= @<%= singular_table_name %>.<%= attribute.name %> %>
</p>

<% end -%>

<%% if allowed?(:<%= table_name %>, :update) %>
<%%= link_to 'Edit', edit_<%= singular_table_name %>_path(@<%= singular_table_name %>) %> |
<%% end %>
<%% if allowed?(:<%= table_name %>, :index) %>
<%%= link_to 'Back', <%= index_helper %>_path %>
<%% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ixtlan-guard-0.1.0 lib/generators/ixtlan/templates/show.html.erb