Frontend to set the parent-uid field
This commit is contained in:
parent
d119beef3f
commit
fd53b541e5
2 changed files with 76 additions and 22 deletions
|
@ -1,10 +1,23 @@
|
|||
|
||||
<h3>{{$header}}</h3>
|
||||
|
||||
{{if $parent_user}}
|
||||
<h4>{{$parent_header}}</h4>
|
||||
<div id="delegate-parent-desc" class="delegate-parent-desc">{{$parent_desc}}</div>
|
||||
<div id="delegate-parent" class="delegate-parent">
|
||||
<form action="{{$baseurl}}/delegate" method="post">
|
||||
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
|
||||
{{include file="field_select.tpl" field=$parent_user}}
|
||||
<div class="submit"><input type="submit" name="delegate" value="{{$submit|escape:'html'}}" /></div>
|
||||
</form>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<h4>{{$delegates_header}}</h4>
|
||||
|
||||
<div id="delegate-desc" class="delegate-desc">{{$desc}}</div>
|
||||
|
||||
{{if $managers}}
|
||||
<h3>{{$head_managers}}</h3>
|
||||
<h4>{{$head_managers}}</h4>
|
||||
|
||||
{{foreach $managers as $x}}
|
||||
|
||||
|
@ -20,7 +33,7 @@
|
|||
{{/if}}
|
||||
|
||||
|
||||
<h3>{{$head_delegates}}</h3>
|
||||
<h4>{{$head_delegates}}</h4>
|
||||
|
||||
{{if $delegates}}
|
||||
{{foreach $delegates as $x}}
|
||||
|
@ -39,7 +52,7 @@
|
|||
<hr />
|
||||
|
||||
|
||||
<h3>{{$head_potentials}}</h3>
|
||||
<h4>{{$head_potentials}}</h4>
|
||||
{{if $potentials}}
|
||||
{{foreach $potentials as $x}}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue