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