<% # encoding: utf-8 %> <% @@session = session %> <%= yield %> <% data = action_data no_close = data["no_close"] @application_form = data["application_form"] @sign_up = data["sign_up"] @sign_up_time_range = data["sign_up_time_range"] @application_form_time_range = data["application_form_time_range"] @contribute_time_range = data["contribute_time_range"] @contribute_action = data["contribute_action"] %> <% if !@application_form.speaker.blank? %> <% end %> <% if !@application_form.content.blank? %> <% end %> <% if !@contribute_time_range.blank? %> <% end %> <% if !@application_form.act_place.blank? %> <% end %> <% if !@application_form.application_form_files.blank? %> <% end %> <% if !@application_form.application_form_links.blank? %> <% end %> <% @application_form.application_form_item_contents.asc(:_id).each do |item_content| %> <% end %>
<%= t(:category) %> <%= @application_form.category.title %>
<%= t('application_form.event_during') %> <%= @application_form_time_range %>
<%= t('application_form.title') %> <%= @application_form.title %>
<%= t('application_form.speaker') %> <%= @application_form.speaker %>
<%= t('application_form.content') %> <%= nl2br(@application_form.content) %>
<%= t('application_form.signup_during') %> <%= @sign_up_time_range %>
<%= t('application_form.contribute_during') %> <%= @contribute_time_range %>
<%= t('application_form.signup') %> <%= @sign_up %>
<%= @contribute_action %>
<%= t('application_form.act_place') %> <%= @application_form.act_place %>
<%= t(:file_) %> <% @application_form.application_form_files.map do |file| %> <%= link_to (file.title.blank? ? File.basename(file.file.path) : file.title) , file.file.url, {:target => '_blank', :title => file.description} if file.file.file %> <% end %>
<%= t(:link) %> <% @application_form.application_form_links.map do |link| %> <%= link_to (link.title.blank? ? link.url : link.title), link.url, :target => '_blank' %> <% end %>
<%= item_content.application_form_item.title %> <%= item_content.content.html_safe %>

<% if !no_close%> <%= link_to t(:close), 'javascript:window.close();', :class => 'btn btn-primary' %> <% end %>