1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- @extends('admin/layout')
- @section('content')
- <body class="gray-bg">
- <div class="wrapper wrapper-content animated fadeInRight">
- <div class="row">
- <div class="col-sm-12">
- <div class="ibox float-e-margins">
- <div class="ibox-content">
- <form method="get" class="form-horizontal" id="form">
- <div class="form-group">
- <label class="col-sm-2 control-label" for="title">名称:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" id="title" name="title"
- value="{{$data->title ?? ''}}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="rule">@php echo $type==1?'路由':'标识'; @endphp
- :</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" id="rule" name="rule"
- value="{{$data->rule ?? ''}}">
- </div>
- </div>
- @if($type==1)
- <div class="form-group">
- <label class="col-sm-2 control-label" for="icon">icon:</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" id="icon" name="icon"
- value="{{$data->icon ?? ''}}">
- </div>
- </div>
- @endif
- <div class="form-group">
- <label class="col-sm-2 control-label" for="sort">排序:</label>
- <div class="col-sm-8">
- <input type="number" class="form-control" id="sort" name="sort"
- value="{{$data->sort ?? 0}}">
- </div>
- </div>
- </form>
- </div>
- </div>
- </div>
- </div>
- </div>
- </body>
- @endsection
|