				{% if mensaje == "2" %}
					<script>
			        	Swal.fire({ 
                    			icon: 'success', //Icono de salida --> success / error / warning / info / question
                    			title: 'Éxito al insertar el cargo', //Mensaje 
                    			confirmButtonText: 'Ok', //Texto del botón
                    			//background: '#000', //Color del fondo del modal 
                    			allowOutsideClick: false,  //Permite dar click fuera de ventana para salir
								allowEscapeKey: false,	//Permite presionar ESCAPE para salir de la ventana
								stopKeydownPropagation: false //Permite acciones de teclado; por ejemplo: Control + C, Control + V 
                		});
		    		</script>
				{%else%}
					{% if mensaje == "3" %}
						<script>
							//Mensaje_S_A(xtitulo, xtexto, xicon, xtext_confir);
			        		Swal.fire({ 
                    			icon: 'error', 
                    			title: 'Error al insertar el cargo', 
                    			confirmButtonText: 'Ok',
                    			background: '#000',
                    			backdrop: true,
                    			allowOutsideClick: false,
								allowEscapeKey: false,	
								stopKeydownPropagation: false
                			});
		    			</script>
					{%else%}
						<div class="card-footer text-center">
							<div class="alert alert-danger" role="alert">
								<strong> {{ mensaje }} </strong>		
							</div>
						</div>
					{% endif %}
				{% endif %}