diff --git a/resources/views/account/profile.blade.php b/resources/views/account/profile.blade.php index 3b8cddba0f..cf57a72746 100755 --- a/resources/views/account/profile.blade.php +++ b/resources/views/account/profile.blade.php @@ -38,7 +38,7 @@ - @include ('partials.forms.edit.location-select', ['translated_name' => trans('general.location'), 'fieldname' => 'location_id']) + @include ('partials.forms.edit.location-profile-select', ['translated_name' => trans('general.location')])
diff --git a/resources/views/partials/forms/edit/location-profile-select.blade.php b/resources/views/partials/forms/edit/location-profile-select.blade.php new file mode 100644 index 0000000000..f51c751e46 --- /dev/null +++ b/resources/views/partials/forms/edit/location-profile-select.blade.php @@ -0,0 +1,22 @@ + +
+ + {{ Form::label('location_id', $translated_name, array('class' => 'col-md-3 control-label')) }} +
+ +
+ + {!! $errors->first('location_id', '
:message
') !!} + +
+ + +