<% content_for :page_specific_css do %> <%= stylesheet_link_tag "lib/main-forms" %> <%= stylesheet_link_tag "lib/main-list" %> <% end %> <%= form_for(:research_intro, :url => update_frontend_setting_admin_researchs_path, :method => "post", html: {class: "form-horizontal main-forms previewable"} ) do |f| %>
<% if !@member.blank? %>
<%= @member.name rescue ''%> <%= f.hidden_field :member_profile_id, :value => @member.id %>
<% end %>
<%= f.check_box :brief_intro, :checked => @intro.brief_intro %> <%= t("personal_plugins.brief_intro") %> <%= f.check_box :complete_list, :checked => @intro.complete_list %> <%= t("personal_plugins.complete_list") %>
<% @site_in_use_locales.each_with_index do |locale, i| %>
">
<%= f.fields_for :text_translations do |f| %> <%= f.cktext_area locale, rows: 5, class: "input-block-level", :value => (@intro.text_translations[locale] rescue nil) %> <% end %>
<% end %>
<%= f.hidden_field :user_id, :value => params[:user_id] if !params[:user_id].blank? %> <%= hidden_field_tag :member_profile_id, @member.id.to_s %> <%= f.submit t('submit'), class: 'btn btn-primary' %> <%= link_to t('cancel'), get_go_back, :class=>"btn" %>
<% end %>