Sha256: 04724a5913f2fda4325f8f9a3ac68688b47df92bff626482a406457e808a34d5
Contents?: true
Size: 690 Bytes
Versions: 7
Compression:
Stored size: 690 Bytes
Contents
= form_for [spina, :admin, @page], multipart: true, html: {autocomplete: "off"} do |f| - content_for :notification_alert do = error_explanation!(@page) - @tabs.each do |tab| = render "spina/admin/pages/form_#{tab}", f: f %button.button.button-primary{type: 'submit'} = icon('check') =t 'spina.pages.save' = link_to t('spina.cancel'), spina.admin_pages_path, class: 'button button-link' - unless @page.new_record? || !@page.deletable .pull-right= link_to t('spina.permanently_delete'), spina.admin_page_path(@page), method: :delete, data: {confirm: t('spina.pages.delete_confirmation', subject: @page.menu_title)}, class: 'button button-link button-danger'
Version data entries
7 entries across 7 versions & 1 rubygems