2010-05-12 00:16:39 +00:00
|
|
|
- title t('.title')
|
|
|
|
|
|
|
|
- content_for :submenu do
|
|
|
|
= render 'admin/shared/menu/assets'
|
2011-04-27 05:18:02 +00:00
|
|
|
|
|
|
|
- content_for :actions do
|
|
|
|
= render 'admin/shared/actions/assets'
|
2010-05-12 00:16:39 +00:00
|
|
|
|
|
|
|
- content_for :buttons do
|
2010-07-13 20:01:40 +00:00
|
|
|
= admin_button_tag t('admin.asset_collections.edit.add_asset'), new_admin_asset_url(@asset_collection), :class => 'new'
|
2010-05-12 00:16:39 +00:00
|
|
|
|
2010-07-21 23:56:42 +00:00
|
|
|
%p!= t('.help')
|
2010-05-12 00:16:39 +00:00
|
|
|
|
2010-07-13 20:01:40 +00:00
|
|
|
= semantic_form_for @asset, :url => admin_asset_url(@asset_collection, @asset), :html => { :multipart => true, :class => 'save-with-shortcut' } do |form|
|
2010-05-12 00:16:39 +00:00
|
|
|
|
|
|
|
= render 'form', :f => form
|
|
|
|
|
2010-07-13 00:46:17 +00:00
|
|
|
= render 'admin/shared/form_actions', :back_url => edit_admin_asset_collection_url(@asset_collection), :button_label => :update
|