{% extends "base.html" %} <!-- File form-districts-District.html generated 2018-07-15T19:59:46.640Z by adl.to-selmer-templates. See [Application Description Language](https://github.com/simon-brooke/adl).--> {% block extra-head %} {% endblock %} {% block content %} <div id='content' class='edit'> <form action='{{servlet-context}}/form-districts-District' method='POST'> {% csrf-field %} <input id='id' name='id' type='hidden' value='{{record.id}}'/> <p class='widget'> <label for='name'> Name </label> {% if {{record.name}} %} {% ifmemberof admin %} <input id='name' name='name' type='string' value='{{record.name}}' maxlength='64' size='60'/> {% else %} {% ifmemberof public admin canvassers teamorganisers issueexperts analysts issueeditors %} <span id='name' name='name' class='pseudo-widget disabled'> {{record.name}} </span> {% else %} <span id='name' name='name' class='pseudo-widget not-authorised'> You are not permitted to view name of districts </span> {% endifmemberof %} {% endifmemberof %} {% else %} {% ifmemberof admin %} <input id='name' name='name' type='string' value='{{record.name}}' maxlength='64' size='60'/> {% else %} {% ifmemberof public admin canvassers teamorganisers issueexperts analysts issueeditors %} <span id='name' name='name' class='pseudo-widget disabled'> {{record.name}} </span> {% else %} <span id='name' name='name' class='pseudo-widget not-authorised'> You are not permitted to view name of districts </span> {% endifmemberof %} {% endifmemberof %} {% endif %} </p> {% ifmemberof admin %} <p class='widget action-safe'> <label for='save-button' class='action-safe'> To save this districts record </label> <input id='save-button' name='save-button' class='action-safe' type='submit' value='Save!'/> </p> {% endifmemberof %} {% ifmemberof admin %} <p class='widget action-dangerous'> <label for='delete-button' class='action-dangerous'> To delete this districts record </label> <input id='delete-button' name='delete-button' class='action-dangerous' type='submit' value='Delete!'/> </p> {% endifmemberof %} </form> </div> {% endblock %} {% block extra-tail %} <script type='text/javascript'> </script> {% endblock %}