mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2025-01-06 13:34:50 +08:00
41 lines
1.3 KiB
PHP
41 lines
1.3 KiB
PHP
<div class="box box-{{ $type }}">
|
|
<div class="box-header with-border">
|
|
<h3 class="box-title">{{ $title }} {!! $hint or '' !!}</h3>
|
|
</div><!-- /.box-header -->
|
|
<form method="post">
|
|
<input type="hidden" name="option" value="{{ $id }}">
|
|
<div class="box-body">
|
|
|
|
@foreach($messages as $msg)
|
|
{!! $msg !!}
|
|
@endforeach
|
|
|
|
@if ($renderWithOutTable)
|
|
@each('common.option-form.item', $items, 'item')
|
|
@else
|
|
<table class="table">
|
|
<tbody>
|
|
@foreach($items as $item)
|
|
<tr>
|
|
@unless ($renderInputTagsOnly)
|
|
<td class="key">{{ $item->name }} {!! $item->hint or '' !!}</td>
|
|
@endunless
|
|
|
|
<td class="value">
|
|
@include('common.option-form.item', compact('item'))
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
@endif
|
|
|
|
</div><!-- /.box-body -->
|
|
<div class="box-footer">
|
|
@foreach($buttons as $button)
|
|
{!! $button !!}
|
|
@endforeach
|
|
</div>
|
|
</form>
|
|
</div>
|