Sha256: 31aa4e7191a44fece5a23b8cf60b23162e2b70fac0216d8c3eec4ca1f43ffc32

Contents?: true

Size: 508 Bytes

Versions: 1

Compression:

Stored size: 508 Bytes

Contents

<div class="small-8 small-offset-2
  medium-6 medium-offset-3
  large-4 large-offset-4 columns">
  <%%= simple_form_for(@<%= singular_table_name %>) do |f| %>
    <%%= f.error_notification %>

    <div class="form-inputs">
<%- attributes.each do |attribute| -%>
      <%%= f.<%= attribute.reference? ? :association : :input %> :<%= attribute.name %> %>
<%- end -%>
    </div>

    <div class="form-actions">
      <%%= f.button :submit, class: "btn btn-primary pull-right" %>
    </div>
  <%% end %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
silmarails-0.2.0 lib/generators/silmarails/install/files/foundation/templates/erb/scaffold/_form.html.erb