1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hubzilla_ynh.git synced 2024-09-03 19:26:21 +02:00
hubzilla_ynh/sources/view/tpl/poke_content.tpl

49 lines
1.1 KiB
Smarty
Raw Normal View History

2016-03-20 08:06:33 +01:00
<div id="poke-content" class="generic-content-wrapper">
<div class="section-title-wrapper">
<h2>{{$title}}</h2>
</div>
<div class="section-content-wrapper">
2016-03-20 08:06:33 +01:00
<div id="poke-desc">{{$desc}}</div>
<br />
<br />
2016-03-20 08:06:33 +01:00
<form action="poke" method="get">
<div class="form-group field input">
<label id="poke-recip-label" for="poke-recip">{{$clabel}}</label>
<input class="form-control" id="poke-recip" type="text" value="{{$name}}" name="pokename" autocomplete="off" />
</div>
<input id="poke-recip-complete" type="hidden" value="{{$id}}" name="cid" />
<input id="poke-parent" type="hidden" value="{{$parent}}" name="parent" />
{{if $poke_basic}}
<input type="hidden" name="verb" value="poke" />
{{else}}
<div class="form-group field custom">
<label for="poke-verb-select" id="poke-verb-lbl">{{$choice}}</label>
<select class="form-control" name="verb" id="poke-verb-select" >
{{foreach $verbs as $v}}
<option value="{{$v.0}}">{{$v.1}}</option>
{{/foreach}}
</select>
</div>
{{/if}}
{{if ! $parent}}
{{include file="field_checkbox.tpl" field=$private}}
{{/if}}
<input type="submit" name="submit" value="{{$submit}}" />
</form>
2016-03-20 08:06:33 +01:00
</div>
</div>