PHP Classes

File: resources/views/comment/create.blade.php

Recommend this page to a friend!
  Classes of Pierre-Henry Soria   Heloise Laravel Blog Package   resources/views/comment/create.blade.php   Download  
File: resources/views/comment/create.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Heloise Laravel Blog Package
Simple blog system with comments and RSS feed
Author: By
Last change:
Date: 1 year ago
Size: 720 bytes
 

Contents

Class file image Download
@extends('layouts.app')

@section('title', 'Post a Comment!')

@section('content')
    <div class="container">
        <div class="row">
            <div class="col col-md-10">
                <h2>Comment The Post!</h2>

                {!! Form::open(['route' => ['comment.store', $post_id]]) !!}
                {{ Form::token() }}

                <div class="form-group">
                    {!! Form::textarea('body', null, ['placeholder' => 'Want to comment on this?', 'class' => 'input-block', 'required']) !!}
                </div>

                {{ Form::submit('Submit', ['class' => 'paper-btn btn-primary']) }}
                {!! Form::close() !!}
            </div>
        </div>
    </div>
@endsection