{% extends "base.tree.html" %} {% load lw_forms %} {% block content-title %} {{form.instance.name}}{% endblock%} {% block content %}
{% include "dashboard/user_group_menu.html" %}
{% if error %} {% endif %}
{% csrf_token %}
{{form|get_widget:"name"|append_html_attr:'placeholder="name"'|append_html_attr:'class="form-control js-input-relation"'|safe}}
{% if form.instance.id %}
{{form|get_widget:"profile_server"|append_html_attr:'placeholder="Profile Server"'|append_html_attr:'class="form-control js-input-relation"'|safe}}
{{form|get_widget:"profile_location"|append_html_attr:'placeholder="Profile Location"'|append_html_attr:'class="form-control js-input-relation"'|safe}}
{{form|get_widget:"theme_front_color"|append_html_attr:'placeholder="Theme Front Color"'|append_html_attr:'class="form-control js-input-relation"'|safe}}
{{form|get_widget:"theme_background_color"|append_html_attr:'placeholder="Theme Background Color"'|append_html_attr:'class="form-control js-input-relation"'|safe}}
{{form|get_widget:"logo"|append_html_attr:'placeholder="Logo"'|append_html_attr:'class="form-control js-input-relation"'|safe}}

{% endif %} {% if form.instance.id %}
{% endif %}
{% endblock%} {% block require-js-extra %} requirejs(['pagination', 'lw-forms', 'groups'], function (Module, LwForms, Groups){ Module.init({{PAGINATION_ELEMENTS}}); LwForms.init(); }); {% endblock%}