Sha256: a96c2522138fa1746d13e9be6a7008b11881f698611f9a1f5aad4f1016435a76

Contents?: true

Size: 1.29 KB

Versions: 82

Compression:

Stored size: 1.29 KB

Contents

- content_for :popups do

  #popup_window
    .outer
      .content
  #add_category_type_popup.popup{:style => "display: none"}
    #add_category_type_busy.busy{:style => "display: none"}= image('spinner.gif', :alt => "")
    .popup_title
      Add Filter Category
    = form_for [:admin, FestivityCategoryType.new] do |f|
      %p
        %span#category-type-error.festivity-error
        %label{:for => 'type_name_field'}
          Category Type (i.e. Genre)
        = f.text_field :name, :id => 'type_name_field', :maxlength => 100, :style => "width: 15em", :class => "textbox big"
        = hidden_field_tag "type_site_id", @site.id
      %p
        %label{:for => 'type_page_class'}
          Show Type
        = f.select(:page_class, options_from_collection_for_select(FestivityBasePage.descendants.map, "name", "display_name"), {:id => "type_page_class", :class => "textbox big"})
      .buttons
        = submit_tag "Add Filter Category", :id => 'add_type_button', :class => "button"
        = t('or')
        = link_to t('cancel'), "javascript:void(0);", :class=>"cancel"

  - @site.festivity_active_category_types.each do |category_type|
    = render partial: "admin/sites/partials/category_popup", :locals => { category_type: category_type, type_name: category_type.name, type_id: category_type.name.parameterize}

Version data entries

82 entries across 82 versions & 1 rubygems

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