PHP Classes

File: resources/views/partials/note-report-request.blade.php

Recommend this page to a friend!
  Classes of Maniruzzaman Akash   Store My Notes Laravel 5   resources/views/partials/note-report-request.blade.php   Download  
File: resources/views/partials/note-report-request.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: Store My Notes Laravel 5
Store and share user notes
Author: By
Last change:
Date: 8 hours ago
Size: 1,033 bytes
 

Contents

Class file image Download
{!! Form::open(['route'=> 'note.request.report', 'data-parsley-validate' => true, 'class' => 'form-horizontal']) !!}
<div class="form-group">
    {{ Form::label('email', 'Your Email', ['class' => 'control-label col-sm-2']) }}
    <div class="col-sm-10">
        @if (Auth::check())
        @php $request_email = Auth::user()->email; @endphp
        @else
        @php $request_email = ""; @endphp
        @endif
        {{ Form::text('email', $request_email, ['class' => 'form-control', 'required' => true]) }}
    </div>
</div>

{{ Form::hidden('note_id', $note->id) }}

<div class="form-group">
    {{ Form::label('description', 'Request Description', ['class' => 'control-label col-sm-2']) }}
    <div class="col-sm-10">
        {{ Form::textarea('description', null, ['rows' => 5, 'class' => 'form-control', 'minlength' => 10, 'placeholder' => 'Enter the description why you are requesting...']) }}
    </div>
</div>

<div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
        {{ Form::submit('Send Request', ['class' => 'btn btn-primary']) }}
    </div>
</div>
{!! Form::close() !!}