announcement edit to view file
This commit is contained in:
parent
3280ff8311
commit
b76918d9d0
|
@ -1,9 +1,11 @@
|
|||
<% # encoding: utf-8 %>
|
||||
|
||||
<tr id="<%= "bulletin_file_#{form_bulletin_file.id}" if !form_bulletin_file.new_record? %>" class='list_item'>
|
||||
<td>
|
||||
<div class="control-group">
|
||||
<div class="controls">
|
||||
<%= f.file_field :file %>
|
||||
<%= form_bulletin_file.file.file ? ( link_to 'View', form_bulletin_file.file.url, {:target => '_blank', :title => 'View'} ) : '' %>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
|
|
Reference in New Issue