Sha256: 71cc36dadaa8e7c84e4677dc676876dfe11512aa57c1277c164c8815ab56017e

Contents?: true

Size: 317 Bytes

Versions: 1

Compression:

Stored size: 317 Bytes

Contents

<%% nuevo = singular_table_name.split('_').first.ends_with?("a") ? 'Nueva' : 'Nuevo' -%>
<h1><%%= nuevo  %> <%%= human_name %></h1>

<%%%= render 'form' %>

<%- if options.cancan? -%>
<%%%= link_to 'Listado', <%%= index_helper %>_path %>
<%- else -%>
<%%%= link_to 'Listado', <%%= index_helper %>_path %>
<%- end -%>

Version data entries

1 entries across 1 versions & 1 rubygems

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