
<div class="panel panel-default">
    <div class="panel-heading">
             新建
    </div>
    <div class="panel-body">
                    
        <form method='post' action="{{ route('admin_share_books.store')}}" onsubmit="return true">
            {!! csrf_field() !!}
            <input type="hidden" name="_method" value="POST">
	        <div class="form-group">
	              <label>选择子分类</label>
	               <select class="form-control" name="category_id">
	                @foreach ($categorys as $key=>$category)
	                <option value="{{ $category['id'] }}">{{ $category['category_name'] }}</option>
	                @endforeach
	              </select>
	        </div>
           <div class="form-group">
                <label>书名</label>
                <input type="text"  style="width: 300px;heigth:50px;"  name="book_name"  >
            </div>
           <div class="form-group">
                <label>作者</label>
                <input type="text" name="author" >
            </div>
           <div class="form-group">
                <label>封面</label>
                <input type="text"  style="width: 300px;height: 100px;"  name="cover_img_url"  >
            </div>
           <div class="form-group">
                <label>排序序列（越大越靠前）</label>
                <textarea style="width: 300px;height: 50px;" name="sort_no"  value="0"></textarea>
            </div>
            <div class="form-group">
                <label>原文地址</label>
                    <textarea style="width: 300px;height: 100px;" name="first_chapter_url"  ></textarea>
            </div>
           <div class="form-group">
                <label>书简介</label>
                 <textarea  style="width: 300px;height: 100px;" name="book_desc"  ></textarea>
            </div>
            <div class="form-group">
                <label>一句话简介</label>
                 <textarea  style="width: 300px;height: 100px;" name="one_word_desc" ></textarea>
            </div>

            <button type="submit" class="btn btn-success">提交</button>
            <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
        </form>
    </div>
</div>
<script type="text/javascript" src="{{ asset('js/My97DatePicker/WdatePicker.js') }}"></script>
<script type="text/javascript" src="{{ asset('js/check.js') }}"></script>
