47 lines
1.1 KiB
PHP
47 lines
1.1 KiB
PHP
|
|
||
|
@extends('cms.cms-master')
|
||
|
@section('main_content')
|
||
|
<h1>Add New Menu Link</h1>
|
||
|
@if ($errors -> any() )
|
||
|
<div class="alert alert-danger">
|
||
|
<ul>
|
||
|
@foreach ($errors->all() as $error)
|
||
|
<li>{{ $error }}</li>
|
||
|
@endforeach
|
||
|
</ul>
|
||
|
</div>
|
||
|
|
||
|
@endif
|
||
|
|
||
|
<div class="row">
|
||
|
|
||
|
<div class="col-md-6">
|
||
|
|
||
|
<form action="{{url('cms/menu')}}" method="post">
|
||
|
{{csrf_field()}}
|
||
|
<div class="form-group">
|
||
|
<label for="link" class="form-label">Link :</label>
|
||
|
<input value="{{ old('link') }}" id="link" name="link" type="text" class="origin_text form-control">
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label for="title" class="form-label">Title : </label>
|
||
|
<input value="{{ old('title') }}" id="title" name="title" type="text" class="form-control">
|
||
|
</div>
|
||
|
|
||
|
<div class="form-group">
|
||
|
<label for="url" class="form-label">Url :</label>
|
||
|
<input value="{{ old('url') }}" id="url" name="url" type="text" class="target-text form-control">
|
||
|
</div>
|
||
|
|
||
|
<div class="form-group text-center">
|
||
|
<button type="submit" class="btn btn-primary"><i class="icon-profile"></i> Save Page </button>
|
||
|
</div>
|
||
|
</form>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
@endsection
|