13 lines
469 B
HTML
13 lines
469 B
HTML
{% extends 'core_ui/base.html' %}
|
|
{% block content %}
|
|
<h1>{% if plant %}Edit{% else %}New{% endif %} Plant</h1>
|
|
<form method="POST">
|
|
{{ form.hidden_tag() }}
|
|
<p>{{ form.name.label }}<br>{{ form.name(size=40) }}</p>
|
|
<p>{{ form.type.label }}<br>{{ form.type(size=40) }}</p>
|
|
<p>{{ form.notes.label }}<br>{{ form.notes(rows=5, cols=40) }}</p>
|
|
<p>{{ form.is_active() }} {{ form.is_active.label }}</p>
|
|
<p>{{ form.submit() }}</p>
|
|
</form>
|
|
{% endblock %}
|