{% 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 'index' %}" class="btn btn-info float-right" >Principal</a>
            {% endif %}
            <div class="col-md-12">
              <div class="card">
                <div class="card-header card-header-primary">
                  <h4 class="card-title ">Servicios</h4>
                  <p class="card-category">Servicios Realizado</p>
                </div>

                <div class="card-body">
                  <form method="POST" action="" class="mt-3" autocomplete="off" >
                    {% csrf_token %}
                    <p>No. de Control</p>
                    <input name="ser_s_n_control" type="text" placeholder="{{ datos.n_control }}" class="form-control" value="{{ datos.n_control }}" > <br>
                    <p>No. de Reporte Bitacora</p>
                    <input name="control_bit" type="text" placeholder="{{ controlcb }}" class="form-control" value="{{ controlcb }}" readonly> <br>
                    {{ form|crispy }}
                    <button type="submit" class="btn btn-success">Guardar</button>
                  </form>
                </div>
              </div>
            </div>
            
            
        
            
          </div>
        </div>
      </div>

      {% endblock content %}

      