{% extends "spider_base/base.html" %} {# inherits NOT from nouc_base #} {% load i18n static spider_rdf spider_base %} {% block title %}{% if object %}{% if object.is_index %}{% blocktrans trimmed %} Change Login Protection{% endblocktrans %}{% else %}{% blocktrans trimmed %} Change Component {% endblocktrans %}{% endif %}{% else %}{% blocktrans trimmed %} Create Component {% endblocktrans %}{% endif %}{% endblock %} {% block extrahead %} {{block.super}} {{form.media|safe}} {% endblock %} {# public_meta not required because it will never be used #} {% block main_classes %}{{block.super}} {% if not object %}w3-sand{% else %}w3-card-4 color-front-{{object.strength}}{% endif %} spkc-content{% endblock %} {% block body_class %}{{block.super}} {% if not object %}w3-light-grey{% else %}color-back-{{object.strength}}{% endif %}{% endblock %} {% block content %}