Sha256: ed193264a1c32ad53d4c729119fd39d83ceb3168345118dbd830689cf3ca333b

Contents?: true

Size: 361 Bytes

Versions: 3

Compression:

Stored size: 361 Bytes

Contents

- if @controller.model.is_a?(Page)
  - @buttons_partials.each do |partial|
    = render :partial => partial
%p.buttons
  = save_model_and_continue_editing_button(@controller.model)
  = save_model_button(@controller.model)
  - if @controller.authorized_user?
    = save_model_and_promote_button(@controller.model)
  or
  = link_to t('cancel'), :action => 'index'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
radiant-concurrent_draft-extension-1.0.2 app/views/admin/_edit_buttons.html.haml
radiant-concurrent_draft-extension-1.0.1 app/views/admin/_edit_buttons.html.haml
radiant-concurrent_draft-extension-1.0.0 app/views/admin/_edit_buttons.html.haml