<%#= t("page_part_kinds.public_r_tag") %> <%#= sub.radio_button :kind, "public_r_tag", class: "hide" %>
"><%= t(:select_one_function) %>
">
<% @site_in_use_locales.each_with_index do |locale, i| %>
<% end %>
"> <% @site_in_use_locales.each do |locale| %>
<% end %>
<%= f.label :module_app_id, t(:module) + " :", class: "control-label muted" %>
<%= select_tag("page_part[sub_parts_attributes][#{@select_number}][module]", options_for_select(@modules.map{|m| [t('module_name.'+m.key),m.key]}, (@subpart.module rescue nil)),{:include_blank => true,"class" => "input-xlarge change module_name", data: {"fv-validation" => "custom_not_empty;", "fv-messages" => "Cannot be empty.;"}}) %>
<% if @child_page_count > 0 %>
<% end %>
<% if params[:action] == "edit_sub_part" && @kind == "module_widget"%> <%= render :partial => "widget_form" %> <% end %>
<%= f.submit t(:update_), class: "btn btn-primary" %>