
  <div class="container text-center">
    <form method='POST' action='/edit/{{ bloc.name }}' hx-post='/edit//{{ bloc.name }}' hx-swap="outerHTML" hx-target="#{{ bloc.name }}">
      {{ form.csrf_token }}
       {% include 'edit-tools/_form-base.html' %}
      <h2 class="mb-4"> Titre du lien </h2>
      {{ form.title(value=bloc.title,
      class="form-control form-control-lg text-center") }}
      <h3> Description du lien </h3>
	{% include 'edit-tools/_editor-wysiwyg.html' %}

      <h3> Votre lien (https://exemple.com) </h3>
      {{ form.link(value=bloc.link, class="form-control text-center") }}
      <br />
      <div class="col-lg-4 form-group mx-auto">
        {{ form.text_button(value=bloc.text_button,
        class="form-control text-center") }}
        {% for error in form.text_button.errors %}
        <span style="color: red;">
          {{ error }}</span>
        {% endfor %}
      </div>
       {% include 'edit-tools/_btn-save-cancel.html' %}
    </form>
  </div>
{% include 'edit-tools/_disable-modify-button.html' %}
