blessing-skin-server/resources/views/vendor/option-form/main.tpl
2016-11-12 23:50:41 +08:00

24 lines
847 B
PHP

<div class="box box-primary">
<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">
@if ($success)
<div class="callout callout-success">设置已保存。</div>
@endif
<table class="table">
<tbody>
@foreach($items as $item)
{!! $item->render() !!}
@endforeach
</tbody>
</table>
</div><!-- /.box-body -->
<div class="box-footer">
<button type="submit" name="submit" class="btn btn-primary">{{ trans('general.submit') }}</button>
</div>
</form>
</div>