phpvms/resources/views/admin/settings/table.blade.php

23 lines
483 B
PHP
Raw Normal View History

2017-06-21 07:49:45 +08:00
<table class="table table-responsive" id="settings-table">
<thead>
<th>Name</th>
<th>Value</th>
2017-06-21 11:48:16 +08:00
<th>Description</th>
2017-06-21 07:49:45 +08:00
</thead>
<tbody>
@foreach($settings as $s)
<tr>
<td>{!! $s->key !!}</td>
<td>{!! $s->value !!}</td>
2017-06-21 11:48:16 +08:00
<td>
@if(Setting::get($s->key.'_descrip'))
{!! Setting::get($s->key.'_descrip') !!}
@else
&nbsp;
@endif
</td>
2017-06-21 07:49:45 +08:00
</tr>
@endforeach
</tbody>
</table>