Sha256: d115e65e56880edbd00babc03cf2c4187a69e0989e41887e4942513f18fe918f

Contents?: true

Size: 1.15 KB

Versions: 82

Compression:

Stored size: 1.15 KB

Contents

%div{id: "add_#{type_id}_popup", class: "popup", :style => "display: none"}
  %div{id: "add_#{type_id}_busy", class: "busy", :style => "display: none"}= image('spinner.gif', :alt => "")
  .popup_title
    = "Add #{type_name}"
  = form_for [:admin, FestivityCategory.new], :html => { :id => "new_#{type_id}" } do |f|
    %p
      %span#category-error.festivity-error
      %label{:for => "#{type_id}_name_field"}
        = type_name
      = f.text_field :name, :id => "#{type_id}_name_field", :maxlength => 100, :style => "width: 15em", :class => "textbox big"
      = hidden_field_tag "#{type_id}_type_id", category_type.id
    %p
      %label{:for => "#{type_id}_parent_id"}
        = "Parent #{type_name}"
      = f.select(:parent_id, options_from_collection_for_select(category_type.parent_categories, "id", "name"), {:include_blank => true}, {:id => "#{type_id}_parent_id", :class => "textbox big"})
    .buttons
      = submit_tag "Add #{type_name}", :id => "add_#{type_id}_button", :class => "button", :data => {:role => "add_category", :category => "#{type_id}", :form => "new_#{type_id}"}
      = t('or')
      = link_to t('cancel'), "javascript:void(0);", :class=>"cancel"

Version data entries

82 entries across 82 versions & 1 rubygems

Version Path
trusty-festivity-extension-2.6.3 app/views/admin/sites/partials/_category_popup.html.haml
trusty-festivity-extension-2.6.2 app/views/admin/sites/partials/_category_popup.html.haml
trusty-festivity-extension-2.6.1 app/views/admin/sites/partials/_category_popup.html.haml
trusty-festivity-extension-2.6 app/views/admin/sites/partials/_category_popup.html.haml
trusty-festivity-extension-2.5.19 app/views/admin/sites/partials/_category_popup.html.haml
trusty-festivity-extension-2.5.18 app/views/admin/sites/partials/_category_popup.html.haml
trusty-festivity-extension-2.5.17 app/views/admin/sites/partials/_category_popup.html.haml
trusty-festivity-extension-2.5.16 app/views/admin/sites/partials/_category_popup.html.haml
trusty-festivity-extension-2.5.15 app/views/admin/sites/partials/_category_popup.html.haml
trusty-festivity-extension-2.5.14 app/views/admin/sites/partials/_category_popup.html.haml
trusty-festivity-extension-2.5.13 app/views/admin/sites/partials/_category_popup.html.haml
trusty-festivity-extension-2.5.12 app/views/admin/sites/partials/_category_popup.html.haml
trusty-festivity-extension-2.5.11 app/views/admin/sites/partials/_category_popup.html.haml
trusty-festivity-extension-2.5.10 app/views/admin/sites/partials/_category_popup.html.haml
trusty-festivity-extension-2.5.9 app/views/admin/sites/partials/_category_popup.html.haml
trusty-festivity-extension-2.5.8 app/views/admin/sites/partials/_category_popup.html.haml
trusty-festivity-extension-2.5.7 app/views/admin/sites/partials/_category_popup.html.haml
trusty-festivity-extension-2.5.6 app/views/admin/sites/partials/_category_popup.html.haml
trusty-festivity-extension-2.5.5 app/views/admin/sites/partials/_category_popup.html.haml
trusty-festivity-extension-2.5.4 app/views/admin/sites/partials/_category_popup.html.haml