Skip to content

Instantly share code, notes, and snippets.

@evercode1
Created December 7, 2015 05:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evercode1/c94da6658d1e59a65760 to your computer and use it in GitHub Desktop.
Save evercode1/c94da6658d1e59a65760 to your computer and use it in GitHub Desktop.
widget create view
@extends('layouts.master')
@section('title')
<title>Create a Widget</title>
@endsection
@section('content')
<div class="container first-line">
{!! Breadcrumb::withLinks(['Home' => '/', 'Widgets' => '/widget', 'Create']) !!}
<h2>Create a New Widget</h2>
<hr/>
@include('errors.list')
{!! Form::open(array('url' => '/widget', 'class' => 'form')) !!}
<!-- widget_name Form Input -->
<div class="form-group">
{!! Form::label('widget_name', 'Widget Name') !!}
{!! Form::text('widget_name', null, ['class' => 'form-control']) !!}
</div>
<div class="form-group">
{!! Form::submit('Create Widget', ['class'=>'btn btn-primary']) !!}
</div>
{!! Form::close() !!}
</div>
@endsection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment