{% extends "base/body_content.html" %} {% load smart_if %} {% block title %}{% if item.id %}Edit plant - {{ item.format_name }}{% else %}New plant{% endif %}{% endblock %} {% block extra_head %} {% endblock %} {% block main_content %}

{% if item.id %}Edit plant - {{ item.format_name }}{% else %}New plant{% endif %}

Back {% if item.id %} Edit pages {% endif %} Save
{% if item.id %}
created on: {{ item.date_added|date:"d.m.Y H:i:s" }}
created by: {{ item.author.format_name }}
modified on: {{ item.last_modified|date:"d.m.Y H:i:s" }}
modified by: {% if item.modified_by %}{{ item.modified_by.format_name }}{% else %}-{% endif %}
{% endif %}

General

Name:
Description:
Timezone:

Plant administrators

Add administrator
{% if item.id %} {% for user in item.admins.all %} {% endfor %} {% endif %}
User Delete
{{ user.format_name }}

Plant controllers

Add controllers
{% for c in controllers %} {% endfor %}
NAD Owner Location Delete
{{ c.nad }} {% if c.owner %}{{ c.owner.format_name }}{% else %}-{% endif %} {{ c.location }} {% if c.owner == request.user or request.user.permissions.is_server_admin %} {% endif %}
{% endblock %}