@extends('layouts.master_backend') @section('content') @php $flag=0; $heading=lang_trans('btn_add'); if(isset($data_row) && !empty($data_row)){ $flag=1; $heading=lang_trans('btn_update'); } @endphp

{{$heading}} {{lang_trans('txt_amenities')}}


@if($flag==1) {{ Form::model($data_row,array('url'=>route('save-amenities'),'id'=>"amenities-form", 'class'=>"form-horizontal form-label-left")) }} {{Form::hidden('id',null)}} @else {{ Form::open(array('url'=>route('save-amenities'),'id'=>"amenities-form", 'class'=>"form-horizontal form-label-left")) }} @endif
{{Form::text('name',null,['class'=>"form-control col-md-7 col-xs-12", "id"=>"amenities_name", "required"=>"required"])}}
{{Form::textarea('description',null,['class'=>"form-control col-md-7 col-xs-12 txt-editor","id"=>"amenities_desc"])}}
{{ Form::select('status',config('constants.LIST_STATUS'),1,['class'=>'form-control']) }}
{{ Form::close() }}
@endsection