{form importCsvForm}
	<div id="importCsvModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="importCsvModalLabel">
		<div class="modal-header">
			<h3 id="importCsvModalLabel">
				Import faktury
			</h3>
		</div>

		<div class="modal-body">
			<table class="order-detail" style="text-align: center; margin: 20px auto;">
				<tbody>
				<tr>
					<th style="width: 140px; text-align: right;">{label id_supplier /}</th>
					<td style="text-align: left;">
						{input id_supplier, style => 'width: 185px;'}
					</td>
				</tr>
				<tr>
					<th style="width: 140px; text-align: right;">{label file /}</th>
					<td style="text-align: left;">
						{input file}
					</td>
				</tr>
				</tbody>
			</table>
		</div>

		<div class="modal-footer">
			{input submit}
			<button class="btn" data-dismiss="modal" aria-hidden="true">Zavřít</button>
		</div>
	</div>
{/form}

<script type="text/javascript">
	$(document).ready(function() {
		$('#importCsvModal').modal({
			keyboard: false,
			backdrop: 'static',
			show: true
		});

	});
</script>
