Sha256: b382d4159f5995d686c62f4e97fc7d56fa676e73c2e5bc353cbbac2864b6569f

Contents?: true

Size: 1.03 KB

Versions: 2

Compression:

Stored size: 1.03 KB

Contents

.page{:id => "page-#{page_part.name.to_slug}"}
  .part{:id => "part-#{page_part.name.to_slug}"}
    = hidden_field_tag 'page[parts][][name]', page_part.name, :id => "part_#{page_part.name.to_slug}_name"
    %p
      %label{:for => "part_#{page_part.name.to_slug}_filter_id"} Filter
      = select_tag 'page[parts][][filter_id]', filter_options_for_select(page_part.filter_id), :id => "part_#{page_part.name.to_slug}_filter_id"
      %span#reference-links
        Reference:
        %span{:id => "filter-reference-link-#{page_part.name.to_slug}"}
          = link_to_function "Filter", "load_filter_reference('#{page_part.name.to_slug}');"
        %span{:id => "tag-reference-link-#{page_part.name.to_slug}"}
          = link_to_function 'Available Tags', "load_tag_reference('#{page_part.name.to_slug}');"
      = render_region :part_controls, :locals => {:page_part => page_part}
    %div
      ~ text_area_tag 'page[parts][][content]', h(page_part.content), :class => "textarea", :style => "width: 100%", :id => "part_#{page_part.name.to_slug}_content"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
radiant-0.7.2 app/views/admin/page_parts/_page_part.html.haml
radiant-0.7.1 app/views/admin/page_parts/_page_part.html.haml