@extends('admin.layouts.template') @section('page_heading') @section('content')
.
Technology
{!! Form::open(array('route'=>'tech.store','class' => 'form', 'novalidate' => 'novalidate', 'files' => true)) !!}
{!! Form::label('name','ชื่อ') !!} {!! Form::text('name',null,['class'=>'form-control']) !!}
{!! Form::label('brand','ยีืห้อ') !!} {!! Form::text('brand',null,['class'=>'form-control']) !!}
{!! Form::label('model','รุ่น') !!} {!! Form::text('model',null,['class'=>'form-control']) !!}
{!! Form::label('tech_spec','สเปค') !!} {!! Form::text('tech_spec',null,['class'=>'form-control']) !!}
{!! Form::label('amount','จำนวน') !!} {!! Form::text('amount',null,['class'=>'form-control']) !!}
{!! Form::label('tech_location',' สถานที่ตั้ง') !!} {!! Form::select('tech_location', array( 'กทม' => 'กทม','ปราจีน' => 'ปราจีน','ระยอง' => 'ระยอง'),null,['class'=>'form-control']) !!}
{!! Form::label('ma_cost',' ค่าซ่อมบำรุ') !!} {!! Form::text('ma_cost',null,['class'=>'form-control']) !!}
{!! Form::label('remark',' ข้อเสอนแนะ') !!} {!! Form::text('remark',null,['class'=>'form-control']) !!}
{!! Form::label('file','file') !!} {!! Form::file('file',null,['class'=>'form-control']) !!}
{!! Form::button('Create',['type'=>'submit','class'=>'btn btn-primary']) !!}
{!! Form::close() !!}
@if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@stop