Sha256: 0bcef6612f2312b50361d3caebcaeadbec61e9f5ccf6c7929037cece3016aa9c
Contents?: true
Size: 327 Bytes
Versions: 17
Compression:
Stored size: 327 Bytes
Contents
= simple_form_for(@<%= singular_table_name %>, :html => {'data-abide' => ''}) do |f| .form-inputs <%- attributes.each do |attribute| -%> = f.<%= attribute.reference? ? :association : :input %> :<%= attribute.name %>, input_html: { required: ''}, hint: 'Cannot be blank.' <%- end -%> .form-actions = f.button :submit
Version data entries
17 entries across 17 versions & 1 rubygems