
		<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 t(:view), form_bulletin_file.file.url, {:class => 'btn', :target => '_blank', :title => t(:view)} ) : '' %>
					<%= form_bulletin_file.file.file ? ( link_to t(:view), form_bulletin_file.file.url, {:class => 'for_preview btn', :target => '_blank', :title => t(:view)}.merge(file_picture_preview_setting(form_bulletin_file.file.url)) ) : '' %>
					</div>
				</div>
			</td>	
			<td>	
			
				<div class="tab-content">
				
					<% @site_valid_locales.each_with_index do |locale, i| %>
					
					<div class="<%= locale %> fade tab-pane <%= ( i == 0 ) ? "in active" : '' %>">
						
						<%= f.fields_for :filetitle, (form_bulletin_file.new_record? ? form_bulletin_file.build_filetitle : form_bulletin_file.filetitle ) do |f| %>
							<div class="control-group">
								<label for="link-<%= locale %>" class="control-label"><%= I18nVariable.first(:conditions => {:key => locale})[I18n.locale] %></label>
								<div class="controls">
								<%= f.text_field locale, :id => "link-#{locale}" %>
								</div>
							</div>
						<% end %>
						
					</div>

					<% end %>
					
				</div>
				
			</td>
			<td>	
			
				<div class="tab-content">
				
					<% @site_valid_locales.each_with_index do |locale, i| %>
					
					<div class="<%= locale %> fade tab-pane <%= ( i == 0 ) ? "in active" : '' %>">
						
						<%= f.fields_for :description, (form_bulletin_file.new_record? ? form_bulletin_file.build_description : form_bulletin_file.description ) do |f| %>
							<div class="control-group">
								<label for="link-<%= locale %>" class="control-label"><%= I18nVariable.first(:conditions => {:key => locale})[I18n.locale] %></label>
								<div class="controls">
								<%= f.text_field locale, :id => "link-#{locale}" %>
								</div>
							</div>
						<% end %>
						
					</div>

					<% end %>
					
				</div>
				
			</td>	
			<td>
			<span class="action">
			<% if form_bulletin_file.new_record? %>
			  <a class="delete"><i class="icon-remove"></i></a>
			<% else %>	
			  <%= f.hidden_field :id %>
			  <%= hidden_field_tag :tr, (dom_id form_bulletin_file) %>
			  <a class="remove_existing_record"><i class="icon-remove"></i></a>
			  <%= f.hidden_field :should_destroy, :value => nil, :class => 'should_destroy' %>
			<% end %>
			</span>
			
			</td>
		</tr>
		
