98 lines
2.9 KiB
HTML
98 lines
2.9 KiB
HTML
{% extends "base.html" %}
|
|
<!-- File form-issues-Issue.html generated 2018-07-03T23:08:20.039Z by adl.to-selmer-templates.
|
|
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
|
|
|
|
|
{% block content %}
|
|
<div id='content' class='edit'>
|
|
<form action='{{servlet-context}}/form-issues-Issue' method='POST'>
|
|
{% csrf-field %}
|
|
<p class='widget'>
|
|
<label for='id'>
|
|
id
|
|
</label>
|
|
{% ifmemberof issueeditors admin %}
|
|
<input id='id' name='id' type='text' value='{{record.id}}' maxlength='' size='16'/>
|
|
{% else %}
|
|
{% ifmemberof canvassers teamorganisers issueexperts analysts issueeditors admin %}
|
|
<span id='id' name='id' class='pseudo-widget disabled'>
|
|
{{record.id}}
|
|
</span>
|
|
{% else %}
|
|
<span id='id' name='id' class='pseudo-widget not-authorised'>
|
|
You are not permitted to view id of issues
|
|
</span>
|
|
{% endifmemberof %}
|
|
{% endifmemberof %}
|
|
</p>
|
|
<p class='widget'>
|
|
<label for='url'>
|
|
url
|
|
</label>
|
|
{% ifmemberof issueeditors admin %}
|
|
<input id='url' name='url' type='text' value='{{record.url}}' maxlength='256' size='60'/>
|
|
{% else %}
|
|
{% ifmemberof canvassers teamorganisers issueexperts analysts issueeditors admin %}
|
|
<span id='url' name='url' class='pseudo-widget disabled'>
|
|
{{record.url}}
|
|
</span>
|
|
{% else %}
|
|
<span id='url' name='url' class='pseudo-widget not-authorised'>
|
|
You are not permitted to view url of issues
|
|
</span>
|
|
{% endifmemberof %}
|
|
{% endifmemberof %}
|
|
</p>
|
|
<p class='widget'>
|
|
<label for='current'>
|
|
current
|
|
</label>
|
|
{% ifmemberof issueeditors admin %}
|
|
<input id='current' name='current' type='checkbox' value='{{record.current}}' maxlength='' size='16'/>
|
|
{% else %}
|
|
{% ifmemberof canvassers teamorganisers issueexperts analysts issueeditors admin %}
|
|
<span id='current' name='current' class='pseudo-widget disabled'>
|
|
{{record.current}}
|
|
</span>
|
|
{% else %}
|
|
<span id='current' name='current' class='pseudo-widget not-authorised'>
|
|
You are not permitted to view current of issues
|
|
</span>
|
|
{% endifmemberof %}
|
|
{% endifmemberof %}
|
|
</p>
|
|
<p class='widget'>
|
|
<label for='brief'>
|
|
brief
|
|
</label>
|
|
{% ifmemberof issueeditors admin %}
|
|
<input id='brief' name='brief' type='text' value='{{record.brief}}' maxlength='' size='16'/>
|
|
{% else %}
|
|
{% ifmemberof canvassers teamorganisers issueexperts analysts issueeditors admin %}
|
|
<span id='brief' name='brief' class='pseudo-widget disabled'>
|
|
{{record.brief}}
|
|
</span>
|
|
{% else %}
|
|
<span id='brief' name='brief' class='pseudo-widget not-authorised'>
|
|
You are not permitted to view brief of issues
|
|
</span>
|
|
{% endifmemberof %}
|
|
{% endifmemberof %}
|
|
</p>
|
|
<p class='widget action-safe'>
|
|
<label for='save-button' class='action-safe'>
|
|
To save this issues record
|
|
</label>
|
|
<input id='save-button' name='save-button' class='action-safe' type='submit' value='Save!'/>
|
|
</p>
|
|
<p class='widget action-dangerous'>
|
|
<label for='delete-button' class='action-dangerous'>
|
|
To delete this issues record
|
|
</label>
|
|
<input id='delete-button' name='delete-button' class='action-dangerous' type='submit' value='Delete!'/>
|
|
</p>
|
|
</form>
|
|
</div>
|
|
|
|
{% endblock %}
|