<div class="panel panel-default" data-file="{{ file_row }}">
	
	<div class="panel-heading" role="tab" id="heading-{{ file_row }}">
		<h4 class="panel-title">
		
			<div class="input-group">
			<input type="text" class="form-control" placeholder="{{ entry_filename }}" name="newxml[files][{{ file_row }}][filename]" value="{{ file.attributes.path }}">
			<a class="input-group-addon" role="button" class="btn btn-primary" data-toggle="collapse" href="#accordion-modification-files-{{ file_row }}" aria-expanded="false" aria-controls="collapse-{{ file_row }}">{{ text_collapse }}</a>
			<a type="button" class="btn btn-danger input-group-addon" onclick="(confirm('{{ text_file_remove }}')) ? FileRemove({{ file_row }}) : ''"><i class="fa fa-trash-o"></i></a>
			</div>
		</h4>
	</div>
	<div id="accordion-modification-files-{{ file_row }}" class="panel-collapse collapse" role="tabpanel" aria-labelledby="heading-{{ file_row }}">
	<div class="panel-body">
			
			
		<div class="panel-group" id="accordion-modification-operations-{{ file_row }}" role="tablist" aria-multiselectable="true">
		  
		  {% if file.operation.0.search is defined %}
			{% set operations = file.operation %}
		  {% else %}
			{% set operations = [file.operation] %}
		  {% endif %}
		  
		  {% set operation_row = 0 %}
			
		  
		  {% for operation in operations %}
			{% include 'marketplace/modification_operation.twig' %}
			{% set operation_row = operation_row + 1 %}
		 
		  {% endfor %}
			<div class="form-group col-sm-12">
				<button type="button" class="btn btn-primary" onclick="OperationAdd({{ file_row }}, this)">{{ text_add }}</button>
			</div>
		</div>
		
		
	
	</div>
	</div>
</div>