Sha256: de522041decae46ccc82f86f1034e730e7ccf4c031d07efede2a6887b8c3d1bc

Contents?: true

Size: 510 Bytes

Versions: 1

Compression:

Stored size: 510 Bytes

Contents

%p#notice notice

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

<%% 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 'Regresar al 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.haml