Further work on auto-generation of components
This commit is contained in:
parent
706e42f483
commit
bfb5a67266
43 changed files with 2254 additions and 911 deletions
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File form-teams-Team.html generated 2018-06-11T18:42:42.836Z by adl.to-selmer-templates.
|
||||
<!-- File form-teams-Team.html generated 2018-06-14T19:58:20.329Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
|
@ -181,6 +181,25 @@ members
|
|||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget'>
|
||||
<label for='organisers'>
|
||||
organisers
|
||||
</label>
|
||||
{% ifwritable teams organisers %}
|
||||
<div class='select-box' farside='canvassers' found='true'>
|
||||
<input name='organisers-search-box' onchange='/* javascript to repopulate the select widget */'/>
|
||||
<select id='organisers' name='organisers' multiple='multiple' comment='JavaScript stuff to fix up aynchronous loading'>
|
||||
{% for record in canvassers %}<option value='{{record.id}}'>{{record.username}} {{record.fullname}} {{record.email}}</option>{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
{% else %}
|
||||
{% ifreadable teams organisers%}
|
||||
<span id='organisers' name='organisers' class='pseudo-widget disabled'>
|
||||
{{record.organisers}}
|
||||
</span>
|
||||
{% endifreadable %}
|
||||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget'>
|
||||
<label for='longitude'>
|
||||
longitude
|
||||
</label>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue