{% extends 'h_tmp_usr/z_tmp.html' %}

{% block css %}

<!-- {# estilos editor de texto #} -->
<link rel="stylesheet" href="{{ url_for('static', filename='h_tmp_user/text_editor.css' ) }}">

<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
<link href="https://cdn.jsdelivr.net/npm/summernote@0.9.0/dist/summernote-lite.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/summernote@0.9.0/dist/summernote-lite.min.js"></script>  

{% endblock css %}

{% block body %}
<div>
  <!-- <h1>Crear una publicación</h1> -->

  <form id="post-form" data-aos="fade-right" data-aos-delay="0" data-aos-duration="800">
    <input type="text" name="title" class="form-control" placeholder="Título de la publicación" maxlength="100">
    <div id="summernote"></div>
    <button id="btn-submit" type="submit" class="btn btn-success"><i class="bi bi-file-earmark-richtext-fill"></i>
      Publicar Documento</button>
  </form>
</div>

{% endblock body %}

{% block js %}
<script type="module" src="{{ url_for('static', filename='h_tmp_user/add_pst.js' ) }}"></script>

<!-- {# aos script #} -->
{% include 'z_comps/aos_script.html' %}


<!-- {# flecha ir hasta arriba #} -->
{% include 'z_comps/arrow_to_up.html' %}

{% endblock js %}