2010-05-02 23:33:17 +00:00
|
|
|
- title t('.title')
|
|
|
|
|
|
|
|
- content_for :submenu do
|
2011-07-25 21:07:32 +00:00
|
|
|
= render_cell 'admin/settings_menu', :show
|
2010-05-02 23:33:17 +00:00
|
|
|
|
|
|
|
- content_for :buttons do
|
2010-07-13 20:01:40 +00:00
|
|
|
= admin_button_tag t('admin.snippets.index.new'), new_admin_snippet_url, :class => 'new'
|
2010-05-02 23:33:17 +00:00
|
|
|
|
2011-06-26 23:02:48 +00:00
|
|
|
%p!= t('.help', :slug => @snippet.slug)
|
2010-05-02 23:33:17 +00:00
|
|
|
|
2010-07-13 20:01:40 +00:00
|
|
|
= semantic_form_for @snippet, :url => admin_snippet_url(@snippet), :html => { :class => 'save-with-shortcut' } do |form|
|
2010-05-02 23:33:17 +00:00
|
|
|
|
|
|
|
= render 'form', :f => form
|
|
|
|
|
2010-09-22 12:50:01 +00:00
|
|
|
= render 'admin/shared/form_actions', :back_url => admin_theme_assets_url, :button_label => :update
|