Skip to content

Commit d2e0a23

Browse files
authored
Merge pull request #16412 from snipe/#16150_fixed_regression_in_branding_page
Fixed regression from #16150
2 parents acaa3a2 + ccea553 commit d2e0a23

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

resources/views/settings/branding.blade.php

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,11 @@ class="form-horizontal"
7878
<label for="brand">{{ trans('admin/settings/general.web_brand') }}</label>
7979
</div>
8080
<div class="col-md-9">
81-
<select name="brand" id="brand" class="form-control select2 minimumResultsForSearch" style="width: 150px;">
82-
@foreach($optionTypes as $value => $label)
83-
<option value="{{ $value }}" {{ old('brand', $setting->brand) == $value ? 'selected' : '' }}>
84-
{{ $label }}
85-
</option>
86-
@endforeach
87-
</select>
81+
{!! Form::select('brand', [
82+
'1'=> trans('admin/settings/general.logo_option_types.text'),
83+
'2'=> trans('admin/settings/general.logo_option_types.logo'),
84+
'3'=> trans('admin/settings/general.logo_option_types.logo_and_text')], old('brand', $setting->brand), array('class' => 'form-control select2', 'style'=>'width: 150px ;')) !!}
85+
8886
</div>
8987
</div>
9088

0 commit comments

Comments
 (0)