{% extends "base.html" %}
{% set title = "Effacer Dashboard" %}
{% set dash_color = application.color %}
{% block actions %}
{% endblock %}
{% block content %}
<div class="row">
    <div class="row">

    <form action="{{ url_for('dashboard_delete', id=row['id']) }}" method="post">
    <div class="col s12">
      <div class="red darken-1">
        <div class="card-content white-text">
          <span class="card-title"><h4>Effacer {{ row.label }}</h4></span>
          <p>Voulez-vous vraiment effacer ce Dashboard et tout son contenu?<br/></p>
        </div>
        <div class="card-action">
            {# Submit Button #}
            <button class="btn waves-effect waves-light green ligthen-5 right" type="submit" name="action" value="cancel">Abandonner
                <i class="material-icons right">close</i>
            </button>
            <button class="btn waves-effect waves-light red right" type="submit" name="action" value="submit">Effacer
                <i class="material-icons right">check</i>
            </button>  
        </div>
      </div>
    </div>
    </form>
</div></div>
{% endblock %}
