fix error

This commit is contained in:
chiu 2019-11-13 11:40:24 +08:00
parent fc737ec6a8
commit 8efa1fc2c5
1 changed files with 11 additions and 11 deletions

View File

@ -39,17 +39,17 @@
</td>
<td><%= t("seminar.registration_status_#{seminar_signup.status}") if !seminar_signup.status.blank? %>
</td>
<td>
<li><%= seminar_signup_contribute.description.to_s.html_safe %></li>
</ul>
</td>
<td>
<ul>
<% seminar_signup.seminar_signup_contributes.collect do |seminar_signup_contribute| %>
<li><%= link_to (seminar_signup_contribute.title.blank? ? File.basename(seminar_signup_contribute.file.path) : seminar_signup_contribute.title) , seminar_signup_contribute.file.url, {:target => '_blank'} if seminar_signup_contribute.file.file %>
</li>
<% end %>
</td>
<ul>
<% seminar_signup.seminar_signup_contributes.collect do |seminar_signup_contribute| %>
<td>
<li><%= link_to (seminar_signup_contribute.title.blank? ? File.basename(seminar_signup_contribute.file.path) : seminar_signup_contribute.title) , seminar_signup_contribute.file.url, {:target => '_blank'} if seminar_signup_contribute.file.file %>
</li>
</td>
<td>
<li><%= seminar_signup_contribute.description.to_s.html_safe %></li>
</td>
<% end %>
</ul>
</tr>
<% end %>
</tbody>