模板
product-category.html
product-category_add.html
添加栏目 cate.blade.php
@extends('admin.master')
@section('content')
<div class="page-container">
<form action="/admin/cate" method="post" class="form form-horizontal" id="form-user-add">
{
{csrf_field()}}
<div class="row cl">
<label class="form-label col-xs-4 col-sm-2">
<span class="c-red">*</span>
父栏目:</label>
<div class="formControls col-xs-6 col-sm-6">
<select name="pid" class="span3">
<option value="0">不选</option>
@foreach($cates as $cate)
<option value="{
{$cate->id}}">
<?php echo str_repeat(" ",4*$cate->lev);?> {
{$cate->name}}
</option>
@endforeach
</select>
</div>
</div>
<div class="row cl">
<label class="form-label col-xs-4 col-sm-2">
<span class="c-red">*</span>
栏目名称:</label>
<div class="formControls col-xs-6 col-sm-6">
<input type="text" class="input-text" value="" placeholder=