Sha256: 0229fa662725ba96973021a7e7bea24df998028069896cbed72e1cff50ba1e12

Contents?: true

Size: 310 Bytes

Versions: 3

Compression:

Stored size: 310 Bytes

Contents

= simple_form_for(@<%= singular_table_name %>) do |f|
  = f.error_notification

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

  .form-actions
    = f.button :submit, 'Save', :class => "btn btn-success"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
omniauth-infinum-0.11.1 examples/devise_and_omniauth_infinum/lib/templates/haml/scaffold/_form.html.slim
omniauth-infinum-0.10.0 examples/devise_and_omniauth_infinum/lib/templates/haml/scaffold/_form.html.slim
omniauth-infinum-0.10.1 examples/devise_and_omniauth_infinum/lib/templates/haml/scaffold/_form.html.slim