Sha256: 1cdd4e9f505d4bd5f1fd7c875e9766e62064821f9b0998ffc4405a58f10d5749

Contents?: true

Size: 287 Bytes

Versions: 43

Compression:

Stored size: 287 Bytes

Contents

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

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
rao-resources_controller-0.0.5.pre app/views/rao/resources_controller/base/_form_buttons.haml
rao-resources_controller-0.0.4.pre app/views/rao/resources_controller/base/_form_buttons.haml
rao-resources_controller-0.0.3.pre app/views/rao/resources_controller/base/_form_buttons.haml