% # encoding: utf-8 %> <%= yield %> <% data = action_data @seminar = data["seminar"] @sign_up = data["sign_up"] @sign_up_time_range = data["sign_up_time_range"] @seminar_time_range = data["seminar_time_range"] @contribute_time_range = data["contribute_time_range"] @contribute_action = data["contribute_action"] %>
<%= t(:category) %> | <%= @seminar.category.title %> |
---|---|
<%= t('seminar.event_during') %> | <%= @seminar_time_range %> |
<%= t('seminar.title') %> | <%= @seminar.title %> |
<%= t('seminar.speaker') %> | <%= @seminar.speaker %> |
<%= t('seminar.content') %> | <%= nl2br(@seminar.content) %> |
<%= t('seminar.signup_during') %> | <%= @sign_up_time_range %> |
<%= t('seminar.contribute_during') %> | <%= @contribute_time_range %> |
<%= t('seminar.signup') %> | <%= @sign_up %> <%= @contribute_action %> |
<%= t('seminar.act_place') %> | <%= @seminar.act_place %> |
<%= t(:file_) %> | <% @seminar.seminar_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) %> | <% @seminar.seminar_links.map do |link| %> <%= link_to (link.title.blank? ? link.url : link.title), link.url, :target => '_blank' %> <% end %> |
<%= item_content.seminar_item.title %> | <%= item_content.content.html_safe %> |