Skip to content

Instantly share code, notes, and snippets.

@prio101
Created July 28, 2015 07:51
Show Gist options
  • Select an option

  • Save prio101/9ce06436c95777120ccb to your computer and use it in GitHub Desktop.

Select an option

Save prio101/9ce06436c95777120ccb to your computer and use it in GitHub Desktop.
@extends('admin.layouts.master')
@section('content')
<!-- **********************************************************************************************************************************************************
MAIN CONTENT
*********************************************************************************************************************************************************** -->
<!--main content start-->
<section id="main-content">
<section class="wrapper">
<h3><i class="fa fa-angle-right"></i> Add New Menu</h3>
<!-- BASIC FORM ELELEMNTS -->
<div class="row mt">
<div class="col-lg-12 col-md-10">
<div class="form-panel">
<h4 class="mb"><i class="fa fa-angle-right"></i> New Menu</h4>
<form class="form-horizontal style-form" method="post">
<input type="hidden" name="_token" value="{{!! csrf_token() !!}}" />
@foreach ($errors->all() as $error)
<p class="alert alert-danger">{{ $error }}</p>
@endforeach
{{--Name of the Menu--}}
<div class="form-group">
<label class="col-sm-2 col-sm-2 control-label">Menu Name</label>
<div class="col-sm-10">
<input type="text" class="form-control round-form" name="name">
<span class="help-block">Enter The Menu Name Here</span>
</div>
</div>
{{--Serial--}}
<div class="form-group">
<label class="col-sm-2 col-sm-2 control-label">Serial</label>
<div class="col-sm-10">
<input type="text" class="form-control round-form" name="serial">
<span class="help-block">Serial Number</span>
</div>
</div>
{{--Link--}}
<div class="form-group">
<label class="col-sm-2 col-sm-2 control-label">Page Link</label>
<div class="col-sm-10">
<input type="text" class="form-control round-form" name="page_link">
<span class="help-block">Enter The Page Link For The Menu</span>
</div>
</div>
{{--POsition--}}
<div class="form-group">
<label class="col-sm-2 col-sm-2 control-label">Position</label>
<div class="col-sm-10">
<select class="form-control" name="position">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
</div>
</div>
{{--slug--}}
<div class="form-group">
<label class="col-sm-2 col-sm-2 control-label">Slug</label>
<div class="col-sm-10">
<input type="text" class="form-control" name="slug"/>
<span class="help-block">Enter The Slug</span>
</div>
</div>
{{--Publish--}}
<div class="form-group">
<label class="col-sm-2 col-sm-2 control-label">Publish</label>
<div class="col-sm-6 text-center">
<div class="switch switch-square"
data-on-label="<i class=' fa fa-check'></i>"
data-off-label="<i class='fa fa-times'></i>">
<input type="checkbox" checked="" />
</div>
</div>
</div>
</form>
</div>
{{--Add Button--}}
<div class="col-md-offset-4 col-md-4">
<div class="form-group ">
<input type="submit" class="btn btn-block btn-theme04" value="SAVE" />
</div>
</div>
</div><!-- col-lg-12-->
</div><!-- /row -->
</section><! --/wrapper -->
</section><!-- /MAIN CONTENT -->
@stop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment