Sha256: f8e061c88ed30e226f14a499c127be2db64a16511256eaac1dc59d32cae11676

Contents?: true

Size: 525 Bytes

Versions: 43

Compression:

Stored size: 525 Bytes

Contents

= simple_form_for @<%= resource_name %>, :html => { :class => 'form-horizontal' } do |f|
<%- columns.each do |column| -%>
  = f.input :<%= column.name %>
<%- end -%>
<%- if ::SimpleForm::FormBuilder.instance_methods.include?(:wrapped_button) -%>
  = f.button :wrapped, :cancel => <%= controller_routing_path %>_path
<%- else -%>
  .form-actions
    = f.button :submit, :class => 'btn-primary'
    = link_to t('.cancel', :default => t("helpers.links.cancel")), <%= controller_routing_path %>_path, :class => 'btn'
<%- end -%>

Version data entries

43 entries across 43 versions & 10 rubygems

Version Path
devbootsrap-0.0.7 lib/generators/bootstrap/themed/templates/simple_form/_form.html.haml
devbootsrap-0.0.6 lib/generators/bootstrap/themed/templates/simple_form/_form.html.haml
devbootsrap-0.0.5 lib/generators/bootstrap/themed/templates/simple_form/_form.html.haml
devbootsrap-0.0.4 lib/generators/bootstrap/themed/templates/simple_form/_form.html.haml
devbootsrap-0.0.3 lib/generators/bootstrap/themed/templates/simple_form/_form.html.haml
ouvrages_scaffold-0.2.0 lib/generators/ouvrages/views/templates/simple_form/_form.html.haml
bootstrap-sass-extras-0.0.5 lib/generators/bootstrap/themed/templates/simple_form/_form.html.haml
twitter-bootstrap-rails-2.2.8 lib/generators/bootstrap/themed/templates/simple_form/_form.html.haml
ouvrages_scaffold-0.1.3 lib/generators/ouvrages/views/templates/simple_form/_form.html.haml
ouvrages_scaffold-0.1.2 lib/generators/ouvrages/views/templates/simple_form/_form.html.haml
ouvrages_scaffold-0.1.1 lib/generators/ouvrages/views/templates/simple_form/_form.html.haml
twitter-bootstrap-rails-2.2.7 lib/generators/bootstrap/themed/templates/simple_form/_form.html.haml
bootstrap-sass-extras-0.0.4 lib/generators/bootstrap/themed/templates/simple_form/_form.html.haml
bootstrap-sass-extras-0.0.3 lib/generators/bootstrap/themed/templates/simple_form/_form.html.haml
bootstrap-sass-extras-0.0.2 lib/generators/bootstrap/themed/templates/simple_form/_form.html.haml
bootstrap-sass-extras-0.0.1 lib/generators/bootstrap/themed/templates/simple_form/_form.html.haml
ouvrages_scaffold-0.1.0 lib/generators/ouvrages/views/templates/simple_form/_form.html.haml
twitter-bootstrap-rails-2.2.6 lib/generators/bootstrap/themed/templates/simple_form/_form.html.haml
twitter-bootstrap-rails-2.2.5 lib/generators/bootstrap/themed/templates/simple_form/_form.html.haml
twitter-bootstrap-rails-2.2.4 lib/generators/bootstrap/themed/templates/simple_form/_form.html.haml