<%@include file="/jsp/common/taglibs.jsp"%>

<!-- Modal -->
<div class="modal fade bs-example-modal" id="modalEliminar">
	<div class="modal-dialog  modal-sm">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal"
					aria-hidden="true">×</button>
				<h3 class="modal-title">Eliminar t&iacute;tulo</h3>
			</div>
			<div class="modal-body">
				<s:form id="idEliminar" class="form-horizontal col-md-10"
					action="#">
				<input type="hidden" name="idTituloCnt"  >
				<input type="hidden" name="idLista"  >
				<h4 class="text-danger">
					<i class="fa fa-exclamation-triangle"></i>Esta seguro que desea eliminar el t&iacute;tulo <strong class="descTituloElim"></strong> ?
				</h4>
				</s:form>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-dismiss="modal">Cerrar</button>
				<button type="button" class="btn btn-primary" onclick="tituloController.baja();">Aceptar</button>
			</div>
		</div>
	</div>
</div>


<!-- Modal -->
<div class="modal fade bs-example-modal-lg" id="modalEliminarSAP">
	<div class="modal-dialog  modal-lg">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal"
					aria-hidden="true">×</button>
				<h3 class="modal-title">Eliminar t&iacute;tulo</h3>
			</div>
			<div class="modal-body">

				<s:form id="idEliminarSAP" class="form-horizontal col-md-10"
					action="#">
					<fieldset>
					<input type="hidden" name="idTituloCnt"  >
					<input type="hidden" name="idLista"  >
						<div class="form-group">
							<div class="col-md-offset-2 col-md-8">
							<h4 class="text-danger">
								<i class="fa fa-exclamation-triangle"></i>Esta seguro que desea eliminar el t&iacute;tulo <strong class="descTituloElim"></strong> ?
							</h4>
							</div>
						</div>
						<div class="form-group">
							<label for="inputEmail3" class="col-md-2  control-label">Fecha Fin</label>
							<div class="col-md-8">
									<v:datePicker name="fechaFin"  id="idFechaFinModalEliminar" clazz="form-control required datepicker" />
							</div>
						</div>
						<div class="form-group">
							<label for="input" class="col-md-2  control-label">Con perdida</label>
							<div class="col-md-8">
								<v:radio items="${catPerdida}" clazz="radio-inline" clazzR="required" name="bajaPerdida" />
							 </div>
						</div>
					</fieldset>
				</s:form>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-dismiss="modal">Cerrar</button>
				<button type="button" class="btn btn-primary" onclick="tituloController.baja('EliminarSAP');">Aceptar</button>
			</div>
		</div>
	</div>
</div>
