Sha256: 01b841f30f6bc574f702be88a3b0bca1631c328b3df6ff2f0442555dbfc07b4d

Contents?: true

Size: 550 Bytes

Versions: 1

Compression:

Stored size: 550 Bytes

Contents

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

<%% attributes.each do |attribute| -%>
<p>
  <b><%%= attribute.human_name %>:</b>
  <%%%= @<%%= singular_table_name %>.<%%= attribute.name %> %>
</p>

<%% end -%>
<%- if options.cancan? -%>
<%%%= link_to 'Editar', edit_<%%= singular_table_name %>_path(@<%%= singular_table_name %>) if can? :update <%%= singular_table_name.camelize %> %>
<%- else -%>
<%%%= link_to 'Editar', edit_<%%= singular_table_name %>_path(@<%%= singular_table_name %>) %>
<%- end -%>
| <%%%= link_to 'Listado', <%%= index_helper %>_path %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lbs-config-0.0.2 lib/generators/lbs/install/templates/show.html.erb