Sha256: 0963d6c1aa07e28f0e148bc60adebcb5b8688b01f5ac9d53bdfd3c8a42100c7a

Contents?: true

Size: 743 Bytes

Versions: 3

Compression:

Stored size: 743 Bytes

Contents

- unless @pages.blank?
  %fieldset
    %p
      = f.label :parent_id , "Parent page", :class => "block_label"
      %br
      = f.select(:parent_id, pages_lists_options(@pages), {:prompt => "No Parent"}, {:class=>" chzn-select"})
%label
  Page Template
%fieldset
  %p
    = f.select(:description_name, page_description_options , { :prompt => "Select Page Template" } , {:class => "required chzn-select"} ) 

- if Gluttonberg::Member.enable_members == true && action_name != "new"
  %fieldset
    %p
      = f.label :groups, "Make this page only available to:"
      = f.select("group_ids" ,  Gluttonberg::Group.order("position ASC").collect{|cc| [cc.name , cc.id] }   , { :include_blank => true  } , { :multiple => true , :class => "large" } )

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gluttonberg-core-3.0.2 app/views/gluttonberg/admin/content/pages/_page_settings.html.haml
gluttonberg-core-3.0.1 app/views/gluttonberg/admin/content/pages/_page_settings.html.haml
gluttonberg-core-3.0.0 app/views/gluttonberg/admin/content/pages/_page_settings.html.haml