engine/app/views/admin/snippets/edit.html.haml

15 lines
506 B
Plaintext
Raw Normal View History

- title t('.title')
- content_for :submenu do
2011-07-25 21:07:32 +00:00
= render_cell 'admin/settings_menu', :show
- content_for :buttons do
= admin_button_tag t('admin.snippets.index.new'), new_admin_snippet_url, :class => 'new'
%p!= t('.help', :slug => @snippet.slug)
= semantic_form_for @snippet, :url => admin_snippet_url(@snippet), :html => { :class => 'save-with-shortcut' } do |form|
= render 'form', :f => form
= render 'admin/shared/form_actions', :back_url => admin_theme_assets_url, :button_label => :update