@extends('master')
	@section('content')
	<div class="row">
	<div class="col-md-12">
	<br><br><br>
		<h1>Create Data</h1>
		</div>
		</div>
		<div class="row">
		<div class="col-md-12">
		<form class="" action="{{route('book.store')}}" method="post">
		{{csrf_field()}}
		<div class="form-group{{ ($errors->has('nama_buku')) ? $errors->first('nama_buku') : '' }}">
		<input type="text" name="nama_buku" class="textfield" placeholder="Enter nama_buku Here">
		{!! $errors->first('nama_buku','<p class="help-block">:message</p>') !!}
		</div>

		<div class="form-group{{ ($errors->has('penulis')) ? $errors->first('nama_buku') : '' }}">
		<input type="text" name="penulis" class="textfield" placeholder="Enter penulis Here">
		{!! $errors->first('penulis','<p class="help-block">:message</p>') !!}
		</div>

		<div class="form-group{{ ($errors->has('isbn')) ? $errors->first('nama_buku') : '' }}">
		<input type="text" name="isbn" class="textfield" placeholder="Enter isbn Here">
		{!! $errors->first('isbn','<p class="help-block">:message</p>') !!}
		</div>

		<div class="form-group">
		<input type="submit" class="btn btn-primary" value="Simpan">
		</div>
		<a href="{{route('admin')}}">Back</a><br>


		</form>
		</div>
		</div>
