Sha256: 2aba48d17e154af8c3eae978c69bc78ececafd53e46ec6d0ebbafcf182371b81

Contents?: true

Size: 417 Bytes

Versions: 3

Compression:

Stored size: 417 Bytes

Contents

%p
  %label= content.section_label

  - name_of_tag = "gluttonberg_page_localization[contents][#{content.association_name}][#{content.id}][text]"

  = select_tag( name_of_tag, options_for_select(content.select_options_data, (content.text.blank? ? content.select_options_default_value : content.text)), :include_blank => true ,  :id => "page_select_#{content.id}", :class => "page_#{content.section_name}_select" )  

Version data entries

3 entries across 3 versions & 1 rubygems

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