diff --git a/resources/macros/macros.php b/resources/macros/macros.php index 6698de246a..695fa86b06 100644 --- a/resources/macros/macros.php +++ b/resources/macros/macros.php @@ -32,7 +32,7 @@ Form::macro('countries', function ($name = 'country', $selected = null, $class = $idclause = (!is_null($id)) ? $id : ''; - $select = ''; $select .= ''; // Pull the autoglossonym array from the localizations translation file diff --git a/resources/views/partials/forms/edit/address.blade.php b/resources/views/partials/forms/edit/address.blade.php index c8bf734033..c68ecaa8c2 100644 --- a/resources/views/partials/forms/edit/address.blade.php +++ b/resources/views/partials/forms/edit/address.blade.php @@ -33,7 +33,7 @@
{{ Form::label('country', trans('general.country'), array('class' => 'col-md-3 control-label')) }} -
+
{!! Form::countries('country', old('country', $item->country), 'select2') !!} {!! $errors->first('country', '') !!}
diff --git a/resources/views/partials/forms/edit/user-select.blade.php b/resources/views/partials/forms/edit/user-select.blade.php index 6283f37467..d9cba4b75f 100644 --- a/resources/views/partials/forms/edit/user-select.blade.php +++ b/resources/views/partials/forms/edit/user-select.blade.php @@ -2,7 +2,7 @@ {{ Form::label($fieldname, $translated_name, array('class' => 'col-md-3 control-label')) }} -
+