-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Adam Crampton
committed
Jul 10, 2015
1 parent
3bc8df4
commit 6fb8bf3
Showing
5 changed files
with
94 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
@extends('layouts/default') | ||
|
||
@section('content') | ||
|
||
|
||
{{ Form::open(['method' => 'post', 'route' => 'tickets.store', 'files' => true]) }} | ||
|
||
<div class="row"> | ||
|
||
<div class="col-md-8"> | ||
<p class="lead">Enter ticket details:</p> | ||
<hr /> | ||
<div class="row"> | ||
<div class="col-md-6"> | ||
<div class="form-group"> | ||
{{ Form::label('category', 'Category: ') }} | ||
{{ Form::select('category', $attributes['categories_list'], null, ['class' => 'form-control']) }} | ||
{{ $errors->first('category', '<span class="label label-danger">:message</span>') }} | ||
</div> | ||
</div> | ||
<div class="col-md-6"> | ||
<div id="content_doc_container" class="form-group has-feedback"> | ||
{{ Form::label('related_files', 'Upload related files (max 8mb): ', ['class' => 'control-label']) }} | ||
{{ Form::file('related_files', ['class' => 'form-control']) }} | ||
<span id="content_doc_glyph" class="glyphicon glyphicon-ok form-control-feedback hide" aria-hidden="true"></span> | ||
<span id="ajax-error-upload"></span> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
{{ Form::label('description', 'Description: ') }} {{ $errors->first('description', '<span class="label label-danger">:message</span>') }} | ||
{{ Form::textarea('description', null, ['class' => 'form-control']) }} | ||
</div> | ||
</div> | ||
|
||
|
||
<div class="col-md-4"> | ||
<p class="lead">Admin Options:</p> | ||
<hr /> | ||
<div class="form-group"> | ||
{{ Form::label('submitted_by', 'Submitted By: ') }} | ||
{{ Form::select('submitted_by', $attributes['staff_users_list'], null, ['class' => 'form-control']) }} | ||
{{ $errors->first('submitted_by', '<span class="label label-danger">:message</span>') }} | ||
</div> | ||
|
||
<div class="form-group"> | ||
{{ Form::label('assigned_to', 'Assigned To: ') }} | ||
{{ Form::select('assigned_to', $attributes['support_users_list'], null, ['class' => 'form-control']) }} | ||
{{ $errors->first('assigned_to', '<span class="label label-danger">:message</span>') }} | ||
</div> | ||
|
||
<div class="form-group"> | ||
{{ Form::label('status', 'Status: ') }} | ||
{{ Form::select('status', $attributes['statuses_list'], null, ['class' => 'form-control']) }} | ||
{{ $errors->first('status', '<span class="label label-danger">:message</span>') }} | ||
</div> | ||
</div> | ||
<div class="col-md-12"> | ||
<div class="form-group"> | ||
{{ Form::submit('Create ticket', ['class' => 'btn btn-success']) }} | ||
</div> | ||
</div> | ||
{{ Form::close() }} | ||
|
||
</div> | ||
|
||
@stop |