Skip to content

Instantly share code, notes, and snippets.

@RedDevilHat
Created May 9, 2017 20:06
Show Gist options
  • Save RedDevilHat/74959e03f7e5571f65b8fb00ada14d36 to your computer and use it in GitHub Desktop.
Save RedDevilHat/74959e03f7e5571f65b8fb00ada14d36 to your computer and use it in GitHub Desktop.
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-9">
<div class="panel panel-default">
<div class="panel-heading">Create New Test</div>
<div class="panel-body">
<a href="{{ url('/home') }}" title="Back"><button class="btn btn-warning btn-xs"><i class="fa fa-arrow-left" aria-hidden="true"></i> Back</button></a>
<br />
<br />
@if ($errors->any())
<ul class="alert alert-danger">
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
@endif
{!! Form::open(['url' => '/test', 'class' => 'form-horizontal', 'files' => true]) !!}
@include ('test.form')
{!! Form::close() !!}
</div>
</div>
</div>
</div>
</div>
@endsection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment