% # encoding: utf-8 %> <% data = action_data @act = data["act"] @sign_up = data["sign_up"] @sign_up_time_range = data["sign_up_time_range"] @act_time_range = data["act_time_range"] %>
<%= t(:category) %> | <%= @act.category.title %> |
---|---|
<%= t('act.act_time_range') %> | <%= @act_time_range %> |
<%= t('act.title') %> | <%= @act.title %> |
<%= t('act.content') %> | <%= nl2br(@act.content) %> |
<%= t('act.sign_up_time_range') %> | <%= @sign_up_time_range %> |
<%= t('act.place') %> | <%= @act.place %> |
<%= t(:file_) %> | <% @act.act_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) %> | <% @act.act_links.map do |link| %> <%= link_to (link.title.blank? ? link.url : link.title), link.url, :target => '_blank' %> <% end %> |
<%= t('act.note') %> | <%= @act.note %> |
<%= t('act.sign_up') %> | <%= @sign_up %> |