2010-07-13 00:46:17 +00:00
|
|
|
- title t('.title', :file => @theme_asset.source_filename)
|
2010-05-11 21:38:52 +00:00
|
|
|
|
|
|
|
- content_for :submenu do
|
|
|
|
= render 'admin/shared/menu/settings'
|
|
|
|
|
|
|
|
- content_for :buttons do
|
2010-07-13 20:01:40 +00:00
|
|
|
= admin_button_tag t('admin.theme_assets.index.new'), new_admin_theme_asset_url, :class => 'new'
|
2010-05-11 21:38:52 +00:00
|
|
|
|
2010-07-22 22:10:40 +00:00
|
|
|
%p!= t('.help', :url => @theme_asset.source.url, :shortcut_url => @theme_asset.shortcut_url)
|
2010-05-11 21:38:52 +00:00
|
|
|
|
2010-07-13 20:01:40 +00:00
|
|
|
= semantic_form_for @theme_asset, :url => admin_theme_asset_url(@theme_asset), :html => { :multipart => true, :class => 'save-with-shortcut' } do |form|
|
2010-05-11 21:38:52 +00:00
|
|
|
|
|
|
|
= render 'form', :f => form
|
|
|
|
|
|
|
|
= render 'admin/shared/form_actions', :back_url => admin_theme_assets_url, :button_label => :update
|