FEATURE: add nice checkbox into settings

This commit is contained in:
Michal Kváček
2016-09-04 21:47:22 +02:00
parent 3cfadc380d
commit f304ef0141
@@ -1,5 +1,9 @@
<input type="checkbox" name="commonSettings[{{$field}}]" value="1" <div>
<label>
<input class="checkbox" value="1"
@if(!isset($settings->{$field}) || $settings->{$field}['lang'] == null) @if(!isset($settings->{$field}) || $settings->{$field}['lang'] == null)
checked checked
@endif /> @endif name="commonSettings[{{$field}}]" type="checkbox">
@lang('admin/settings.commonSettings') <span>@lang('admin/settings.commonSettings')</span>
</label>
</div>