Sha256: e8012fc7cdb15dfbbfbdece6bcbfa08a25f53e5eded70113684a212d53400ff9
Contents?: true
Size: 1.25 KB
Versions: 2
Compression:
Stored size: 1.25 KB
Contents
= form_for [forgeos_commerce, :admin , brand], :html => { :id => 'wrap', "data-object_name" => brand.class.model_name.singular } do |f| .backgrounds.big-header = f.text_field :name, :class => 'field_name' = Forgeos_save_buttons [forgeos_commerce, :admin, :brands] #content.grid_16.alpha.omega .grid_12.omega = display_visual(f.object_name, brand.picture) %br = f.label :description = f.text_area :description, :class => 'mceEditor' #right-sidebar.grid_4.omega .step = f.label :code = f.text_field :code, :size => 25 %br - if respond_to?(:brand_url) = brand_url(Brand.new(:url => '', :name => '')) - else \/brands/ = f.text_field :url, :size => 10 .step.open = link_to(t('product.associated_collection', :count => 2), '#', :class => 'small-icons step-title') = hidden_field_tag "#{f.object_name}[category_ids][]" #association-brand-tree.inner-step %ul = render :partial => 'admin/categories/associated_elements', :locals => { :association_id => 'category_ids', :element => f.object, :category_ids => f.object.category_ids, :categories => BrandCategory.roots } = render :partial => 'attachments_popups'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
forgeos_commerce-1.9.1.rc1 | app/views/admin/brands/_form.html.haml |
forgeos_commerce-1.9.0 | app/views/admin/brands/_form.html.haml |