mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-26 00:43:46 +00:00
27 lines
648 B
HTML
27 lines
648 B
HTML
{% extends "machines/sidebar.html" %}
|
|
{% load bootstrap3 %}
|
|
|
|
{% block title %}Création et modification de machines{% endblock %}
|
|
|
|
{% block content %}
|
|
{% if machineform %}
|
|
{% bootstrap_form_errors machineform %}
|
|
{% endif %}
|
|
{% if interfaceform %}
|
|
{% bootstrap_form_errors interfaceform %}
|
|
{% endif %}
|
|
|
|
<form class="form" method="post">
|
|
{% csrf_token %}
|
|
{% if machineform %}
|
|
{% bootstrap_form machineform %}
|
|
{% endif %}
|
|
{% if interfaceform %}
|
|
{% bootstrap_form interfaceform %}
|
|
{% endif %}
|
|
{% bootstrap_button "Créer ou modifier" button_type="submit" icon="star" %}
|
|
</form>
|
|
<br />
|
|
<br />
|
|
<br />
|
|
{% endblock %}
|