Sha256: 479612a6603eda94a9f2f3d4fb104599f99374f7db3ed37b007268f1e5974117

Contents?: true

Size: 521 Bytes

Versions: 9

Compression:

Stored size: 521 Bytes

Contents

/ @depreciation - delete this file in v2.0
- save_button_text   ||= 'Save'
- cancel_button_text ||= 'Cancel'
- cloneable          ||= false
- clone_button_text  ||= 'Clone'

.main_content-header-save
  a.button#js-header-cancel href=@index_path = cancel_button_text
  - if cloneable.present? && params[:id].present?
    a.button< data-method="post" data-confirm=t('fae.clone_confirmation') href="#{@index_path}?from_existing=#{params[:id]}" = clone_button_text
  input< name="commit" type="submit" value=save_button_text

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fae-rails-1.7.1 app/views/fae/shared/_form_buttons.html.slim
fae-rails-1.7.0 app/views/fae/shared/_form_buttons.html.slim
fae-rails-1.6.0 app/views/fae/shared/_form_buttons.html.slim
fae-rails-1.5.1 app/views/fae/shared/_form_buttons.html.slim
fae-rails-1.5.0 app/views/fae/shared/_form_buttons.html.slim
fae-rails-1.4.1 app/views/fae/shared/_form_buttons.html.slim
fae-rails-1.4.0 app/views/fae/shared/_form_buttons.html.slim
fae-rails-1.3.1 app/views/fae/shared/_form_buttons.html.slim
fae-rails-1.3.0 app/views/fae/shared/_form_buttons.html.slim