Added input fields to upload avatar.
This commit is contained in:
committed by
Nabeel Shahzad
parent
b1209712d1
commit
06d767279b
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user