	<div id='add_bulletin_files'>
	
	<% bulletin_files.each do | bulletin_file | %>
		
		<%= fields_for 'bulletin[bulletin_files][]', bulletin_file, :index => nil do |f| %>
	
		<div  id="<%= "bulletin_#{bulletin_file.id}" if !bulletin_file.new_record? %>" class='list_item'>
		  <div class="field">
			<%= f.label :file  %>
			<%#= file_field_tag 'bulletin[file]' %>
			<%= f.file_field :file %>

			<%= f.label :file_title %>
			<%= f.text_field :title %>

			<%= f.label :file_description %>
			<%= f.text_field :description %>

			<span class="action">
			<% if bulletin_file.new_record? %>
			  <a href="#" class="delete"><%= t(:delete) %></a>
			<% else %>	
			  <%= f.hidden_field :id %>
				<% if bulletin_file.is_built_in? %>
					<a href="#" class="switch" id="<%= bulletin_file.id %>"></a>
				<% else %>
					<a href="#" class="remove_existing_record"><%= t(:delete) %></a>
					<%= f.hidden_field :_destroy, :value => nil, :class => 'should_destroy' %>
				<% end %>
			<% end %>
			</span>
		  </div>
		</div>
		<% end %>
		
	<% end %>
		</div>
