Added input fields to upload avatar.

This commit is contained in:
Jose Miguel Bustos Espinoza
2018-04-30 22:29:34 -03:00
committed by Nabeel Shahzad
parent b1209712d1
commit 06d767279b

View File

@@ -92,6 +92,16 @@
@endif
</td>
</tr>
<td>Avatar</td>
<td>
<div class="input-group form-group-no-border{{ $errors->has('avatar') ? ' has-danger' : '' }}">
{{ Form::file('avatar', null) }}
</div>
<p class="small">This avatar will be rezise to {{ config('phpvms.avatar.width'). ' x '. config('phpvms.avatar.height') }}</p>
@if ($errors->has('avatar'))
<p class="text-danger">{{ $errors->first('avatar') }}</p>
@endif
</td>
</table>