{% extends 'kfet/base.html' %}

{% block title %}Paramètres{% endblock %}
{% block content-header-title %}Paramètres{% endblock %}

{% block content %}

{% include 'kfet/base_messages.html' %}
<table>
  <tr>
    <td></td>
    <td>Nom</td>
    <td>Valeur</td>
  </tr>
  {% for setting in settings %}
    <tr>
      <td><a href="{% url 'kfet.settings.update' setting.pk %}">Modifier</a></td>
      <td>{{ setting.name }}</td>
      <td>{% firstof setting.value_decimal setting.value_duration setting.value_account %}</td>
    </tr>
  {% endfor %}
</table>

{% endblock %}
