Sha256: 0daa437a88ea0e8d790499eb4d7cd8957b3fccb56e202c11a6725647eb6124eb
Contents?: true
Size: 598 Bytes
Versions: 2
Compression:
Stored size: 598 Bytes
Contents
<% row = cell(:elements, :row).new form = cell(:inputs, :form).new(url: url, method: method) %> <%=raw form.open %> <%=raw row.open %> <%=raw cell(:inputs, :text).new(name: 'data[name]', label: 'Name', required: true, class: 'md-12', value: @data.name) %> <%=raw row.close %> <div class="text-right"> <%=raw cell(:elements, :button).new(type: 'link', label: 'Cancel', style: 'danger', icon: 'ban', url: lato_datas_path) %> <%=raw cell(:elements, :button).new(type: 'submit', label: 'Save', style: 'success', icon: 'check') %> </div> <%=raw form.close %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lato_core-2.1.1 | lib/generators/lato_core/templates/views/crud/shared/_form.html.erb |
lato_core-2.1 | lib/generators/lato_core/templates/views/crud/shared/_form.html.erb |