56 lines
1.8 KiB
HTML
56 lines
1.8 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% load static %}
|
|
|
|
{% load crispy_forms_tags %}
|
|
|
|
{% block content %}
|
|
|
|
|
|
<!-- End Navbar -->
|
|
<div class="content">
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
|
|
|
|
|
|
{% if user.is_authenticated %}
|
|
<a href="{% url 'bitacora' %}" class="btn btn-info float-right" >Bitacora</a>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<div class="col-md-12">
|
|
<div class="card">
|
|
<div class="card-header card-header-primary">
|
|
<h4 class="card-title ">Bitacora</h4>
|
|
<p class="card-category">BITACORA DE REPORTES DE EQUIPO MÉDICO</p>
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
<form method="POST" action="" class="mt-3" autocomplete="off" >
|
|
{% csrf_token %}
|
|
<p>Numero de Reporte</p>
|
|
<input name="n_reporte" type="text" placeholder="{{ dato_rep }}" class="form-control" value="{{ dato_rep }}" readonly> <br>
|
|
<p>Año</p>
|
|
<input name="n_year" type="text" placeholder="{{ new_year }}" class="form-control" value="{{ new_year }}" readonly>
|
|
<input name="control_bit" type="hidden" class="form-control" value="{{ dato_rep }}-{{ new_year }}" readonly> <br>
|
|
<p>Hora</p>
|
|
<input name="hora" type="text" placeholder="{{ hora }}" class="form-control" value="{{ hora }}" readonly> <br>
|
|
{{ form|crispy }}
|
|
<button type="submit" class="btn btn-success">Guardar</button>
|
|
</form>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock content %}
|
|
|
|
|