engine/app/views/admin/assets/edit.html.haml
2010-05-12 02:16:39 +02:00

15 lines
516 B
Plaintext

- title t('.title')
- content_for :submenu do
= render 'admin/shared/menu/assets'
- content_for :buttons do
= admin_button_tag t('admin.asset_collections.edit.add_asset'), new_admin_asset_url(@collection), :class => 'add'
%p= t('.help')
= semantic_form_for @asset, :url => admin_asset_url(@collection, @asset), :html => { :multipart => true } do |form|
= render 'form', :f => form
= render 'admin/shared/form_actions', :back_url => edit_admin_asset_collection_url(@collection), :button_label => :update