friendica/templates/field_fileinput.tpl

10 lines
562 B
Smarty

<div class="form-group field input file">
<label for="id_{{$field.0}}" id="label_{{$field.0}}">{{$field.1}}</label>
<div class="input-group" id="{{$field.0}}">
<input class="form-control file" name="{{$field.0}}" id="id_{{$field.0}}" type="text" value="{{$field.2}}">{{if $field.4}} <span class="required">{{$field.4}}</span> {{/if}}
<span class="input-group-addon image-select"><i class="fa fa-picture-o"></i></span>
</div>
<span id="help_{{$field.0}}" class="help-block">{{$field.3}}</span>
<div id="end_{{$field.0}}" class="field_end"></div>
</div>