only show the remote_self option if admin allows it

This commit is contained in:
Tobias Diekershoff 2013-12-22 19:30:09 +01:00
commit 25d83f780d
2 changed files with 3 additions and 1 deletions

View file

@ -37,9 +37,10 @@
<label id="crepair-photo-label" class="crepair-label" for="crepair-photo">{{$label_photo}}</label>
<input type="text" id="crepair-photo" class="crepair-input" name="photo" value="" />
<div class="clear"></div>
{{if $allow_remote_self eq 1}}
<h4>{{$label_remote_self}}</h4>
{{include file="field_checkbox.tpl" field=$remote_self}}
{{/if}}
<input type="submit" name="submit" value="{{$lbl_submit}}" />