@extends('layouts.master')
@section('title','Bia')
@section('content')
        
        
        <!-- Content -->
        <div class="content">
            <div class="animated fadeIn">
                <div class="row">

                    <div class="col-md-12">
                        
                            {{-- <div class="card-header">
                                <strong class="card-title">I. INFORMASI ORGANISASI & KEGIATAN</strong>
                            </div> --}}
                           

                                <form action="{{ route('eco_tours.store') }}" method="post" enctype="multipart/form-data" class="form-horizontal">
                                    @csrf
                                    <div class="card">
                                        <div class="card-body card-block">
                                            
                                            

                                            <div class="row form-group">
                                                <div class="col col-md-2">
                                                    <label for="nama_group" class="form-control-label">Titik Nomer</label>
                                                </div>
                                                <div class="col-12 col-md-3">
                                                    <input type="number" id="no" name="no" class="form-control" value="{{ old('no') }}" required>
                                                   
                                                </div>
                                            </div>

                                            <div class="row form-group">
                                                <div class="col col-md-2">
                                                    <label for="nama_group" class="form-control-label">Nama Lokasi</label>
                                                </div>
                                                <div class="col-12 col-md-10">
                                                    <input type="text" id="tittle" name="tittle" class="form-control" value="{{ old('tittle') }}" required>
                                                   
                                                </div>
                                            </div>

                                            <div class="row form-group">
                                                <div class="col col-md-2">
                                                    <label for="nama_group" class="form-control-label">Koordinat X</label>
                                                </div>
                                                <div class="col-12 col-md-4">
                                                    <input type="number" id="x" name="x" class="form-control" value="{{ old('x') }}" required>
                                                   
                                                </div>
                                            </div>

                                            <div class="row form-group">
                                                <div class="col col-md-2">
                                                    <label for="nama_group" class="form-control-label">Koordinat Y</label>
                                                </div>
                                                <div class="col-12 col-md-4">
                                                    <input type="number" id="y" name="y" class="form-control" value="{{ old('y') }}" required>
                                                </div>
                                            </div>

                                            <div class="row form-group">
                                                <div class="col col-md-2">
                                                    <label for="nama_group" class="form-control-label">Deskripsi</label>
                                                </div>
                                                <div class="col-12 col-md-10">
                                                    <input type="text" id="desc" name="desc" class="form-control" value="{{ old('desc') }}" required>
                                                   
                                                </div>
                                            </div>


                                            <div class="row form-group">
                                                <div class="col col-md-2">
                                                    <label for="nama_group" class="form-control-label">Image</label>
                                                </div>
                                                <div class="col-12 col-md-10">
                                                    <input type="file" id="image" name="image" class="form-control" value="{{ old('image') }}">
                                                   
                                                </div>
                                            </div>
                                            

                                            
                                            
                                            
                                           
                                        </div>
                                    </div>
                                    
                                   
                                    
                                    <br/>
                                    <button id="btnSave" type="submit" class="btn btn-primary">
                                        Simpan
                                    </button>
                                    <a href="{{ route('eco_tours.index') }}" class="btn btn-default">
                                        Batal
                                    </a>
                                </form>
                            
                           
                        
                    </div>


                </div>
            </div><!-- .animated -->
        </div><!-- .content -->
        <!-- /.content -->
@section('js')


@endsection       


@endsection