Sha256: 5a2d14eecf94f8f60a760df3c426e8101b223b488a8542d287eeb4f4a52bba64
Contents?: true
Size: 1.66 KB
Versions: 60
Compression:
Stored size: 1.66 KB
Contents
.page{:id => "page_#{page_part.name.to_slug}", 'data-caption'=>h(page_part.name)} .part{:id => "part-#{page_part.name.to_slug}"} = hidden_field_tag "page[parts_attributes][#{page_part_counter}][name]", page_part.name, :id => "part_#{page_part.name.to_slug}_name" = hidden_field_tag "page[parts_attributes][#{page_part_counter}][id]", page_part.id, :id => "part_#{page_part_counter}_id", :class => "id_input" unless page_part.new_record? = hidden_field_tag "page[parts_attributes][#{page_part_counter}][_destroy]", page_part._destroy, :class => "delete_input" %p %label{:for => "part_#{page_part.name.to_slug}_filter_id"} = t('filter') = select_tag "page[parts_attributes][#{page_part_counter}][filter_id]", filter_options_for_select(page_part.filter_id), :id => "part_#{page_part.name.to_slug}_filter_id" / bring this back when the new toolbar ui arrives / %span.toolbar / = link_to t('clipped_extension.assets'), '#attach_asset', :class => 'popup', :style => 'color: #666' %span.reference_links = t('reference') %span{:id => "filter_reference_link_#{page_part.name.to_slug}"} = link_to_function t('filter'), "loadFilterReference('#{page_part.name.to_slug}');" %span{:id => "tag_reference_link_#{page_part.name.to_slug}"} = link_to_function t('available_tags'), "loadTagReference('#{page_part.name.to_slug}');" = render_region :part_controls, :locals => {:page_part => page_part} %div ~ text_area_tag "page[parts_attributes][#{page_part_counter}][content]", page_part.content, :class => "textarea large", :style => "width: 100%", :id => "part_#{page_part.name.to_slug}_content"
Version data entries
60 entries across 60 versions & 4 rubygems