cirandas.net

ref: master

plugins/display_content/views/box_organizer/_display_content_block.html.erb


<%= javascript_tag 'render_all_jquery_ui_widgets()' %>

<%= _('Choose which attributes should be displayed and drag to reorder them:') %>

<% for section in @block.sections do %> <% end %>
<%= hidden_field_tag 'block[sections][][value]', section[:value] %> <%= check_box_tag 'block[sections][][checked]', section[:value], section[:checked] %> <%= @block.section_name(section[:value]) %>

<%= _('Choose which content should be displayed:') %>

<% tabs = [] %> <% tabs << {:title => _('Choose directly'), :id => 'choose-directly', :content => (render :partial => 'choose_directly')} %> <% tabs << {:title => _('Choose by Content Type'), :id => 'choose_by_content_type', :content => (render :partial => 'choose_by_content_type')} %> <%= render_tabs(tabs) %>

<%= _('Order by:')%>

<%= labelled_radio_button(_("Most recent"), "block[order_by_recent]", true, @block.order_by_recent)%> <%= labelled_radio_button(_("Most oldest"), "block[order_by_recent]", false, !@block.order_by_recent)%>

<%= _('Translations:')%>

<%= labelled_check_box(_('List only translated content'), 'block[content_with_translations]', true) %>