Current File : //home/tradevaly/public_html/resources/views/backend/pages/topMenu/add.blade.php |
@extends('backend.ayaan.master')
@push('title')Add New Menu @endpush
@push('style')
@endpush
@section('content')
<div class="container-fluid">
<div class="row">
<div class="col-md-6">
<div class="card">
<div class="card-header card-header-icon card-header-info">
<h4 class="card-title">{{translate("ADD NEW MENU ITEM")}}
</h4>
</div>
<div class="card-body">
<form action="{{url('b2b/top_menu/add')}}" method="POST">@csrf
<div class="col-lg-12">
<label class="bmd-label-floating">{{translate("Select Menu type")}} </label>
<select class="selectpicker form-control mb-3" data-size="12" data-style="btn btn-ssuccess" title="Single Select" name="type">
<option disabled selected>{{translate("Single Option")}}</option>
<option value="">{{translate("Select item type")}}</option>
@foreach ($types as $type)
<option value="{{$type}}">{{$type}}</option>
@endforeach
</select>
</div>
<div class="col-md-12">
<div class="form-group">
<label class="bmd-label-floating">{{translate("Custom url")}} </label>
<input type="text" name="custom_url" class="form-control" required>
</div>
</div>
<div class="col-md-12">
<div class="form-group">
<label class="bmd-label-floating">{{translate("Menu title ")}}</label>
<input class="form-control" type="text" name="title" class="form-control" required>
</div>
</div>
<div class="col-md-12">
<div class="form-group">
<label class="bmd-label-floating">{{translate("Give a menu item color")}}</label>
<input type="text" name="color" class="form-control" required>
</div>
</div>
</div>
<button type="submit" class="btn btn-success mt-5">{{translate("Upload")}}</button>
<div class="clearfix"></div>
</form>
</div>
</div>
</div>
</div>
</div>
@stop
@push('script')
@endpush