3ebf4f2924
Custom user fields during registration and profile edit #711
17 lines
418 B
PHP
17 lines
418 B
PHP
<tr>
|
|
<td>
|
|
{{ $field->field->name }}
|
|
@if($field->field->required === true)
|
|
<span class="text-danger">*</span>
|
|
@endif
|
|
</td>
|
|
<td>
|
|
<div class="input-group input-group-sm form-group">
|
|
{{ Form::text($field->field->slug, $field->value, [
|
|
'class' => 'form-control',
|
|
]) }}
|
|
</div>
|
|
<p class="text-danger">{{ $errors->first('field_'.$field->slug) }}</p>
|
|
</td>
|
|
</tr>
|