{% extends "page.html %} {% block title %} {{ context._classname.capitalize() }} editing - {{ config.TRACKER_NAME }} {% endblock %} {% block body_title %} {{ context._classname.capitalize() }} editing {% endblock %} {% block content %} {% if not (context.is_view_ok() or request.user.hasRole('Anonymous')) %}

You are not allowed to view this page.

{% endif %} {% if not context.is_view_ok() and request.user.hasRole('Anonymous') %}

Please login with your username and password.

{% endif %} {% if context.is_view_ok() %}
{% for prop in db[context._classname].properties() %} {% if prop._name not in ('id', 'creator', 'creation', 'actor', 'activity') %} {% endif %} {% endfor %}
{{ prop._name }} {{ context[prop._name].field()|safe }}
  {{ context.submit()|safe }}
{% if context.id %} {{ context.history () }} {% endif %}
{% endif %} {% endblock %}