Sha256: 4e055198f385f3edc389dac4ed6eddc3bf7b47533f7bd5a3e4dae38684d18b6f

Contents?: true

Size: 228 Bytes

Versions: 27

Compression:

Stored size: 228 Bytes

Contents

= form.button :submit, class: 'btn btn-success' do
  = fa_icon :ckeck
= bootstrap_button(to: ((action_name == 'new' || form.object.new_record?) ? collection_path : resource_path(form.object)), context: :link) do
  = t('.cancel')

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
rails-add_ons-3.0.0.pre1 app/views/resources_controller/base/_form_buttons.haml
rails-add_ons-2.2.1 app/views/resources_controller/base/_form_buttons.haml
rails-add_ons-2.2.0 app/views/resources_controller/base/_form_buttons.haml
rails-add_ons-2.1.1 app/views/resources_controller/base/_form_buttons.haml
rails-add_ons-2.1.0 app/views/resources_controller/base/_form_buttons.haml
rails-add_ons-2.0.2 app/views/resources_controller/base/_form_buttons.haml
rails-add_ons-2.0.1 app/views/resources_controller/base/_form_buttons.haml
rails-add_ons-2.0.0 app/views/resources_controller/base/_form_buttons.haml
rails-add_ons-1.5.2 app/views/resources_controller/base/_form_buttons.haml
rails-add_ons-1.5.1 app/views/resources_controller/base/_form_buttons.haml
rails-add_ons-1.5.0 app/views/resources_controller/base/_form_buttons.haml
rails-add_ons-1.4.1 app/views/resources_controller/base/_form_buttons.haml
rails-add_ons-1.4.0 app/views/resources_controller/base/_form_buttons.haml
rails-add_ons-1.3.3 app/views/resources_controller/base/_form_buttons.haml
rails-add_ons-1.3.2 app/views/resources_controller/base/_form_buttons.haml
rails-add_ons-1.3.1 app/views/resources_controller/base/_form_buttons.haml
rails-add_ons-1.3.0 app/views/resources_controller/base/_form_buttons.haml
rails-add_ons-1.2.0 app/views/resources_controller/base/_form_buttons.haml
rails-add_ons-1.1.0 app/views/resources_controller/base/_form_buttons.haml
rails-add_ons-1.0.0 app/views/resources_controller/base/_form_buttons.haml