Sha256: e2e41cd61fe88276bae7593b68aefe4e65cf32036c9ef62e9af0b11e7bff0657

Contents?: true

Size: 509 Bytes

Versions: 1

Compression:

Stored size: 509 Bytes

Contents

#new_category      
  = error_messages_for :cms_category
  = text_field :cms_category, :label
  = select :cms_category, :parent_id, [['---', nil]] + CmsCategory.categories_for_select
  = submit_to_remote 'submit-btn', 'Add Category', :url => cms_admin_categories_path(:item_type => item_type), :with => "Form.Element.serialize('cms_category_label') + '&' +  Form.Element.serialize('cms_category_parent_id')", :html => {:class => 'submit_button'}
  or
  = link_to 'Manage Categories', cms_admin_categories_path

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
comfortable_mexican_sofa-0.0.18 app/views/cms_admin/categories/_new.html.haml