PHP Classes

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

Recommend this page to a friend!
  Classes of Pierre-Henry Soria   Heloise Laravel Blog Package   resources/views/post/create.blade.php   Download  
File: resources/views/post/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: 7 months ago
Size: 1,071 bytes
 

Contents

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

@section('title', 'Add Post')

@section('content')
    <div class="container">
        <div class="row">
            <div class="col-md-8">
                <h2>Add Post</h2>

                <div class="collapsible-body">
                    {!! Form::open(['route' => 'post.store']) !!}
                    {{ Form::token() }}
                    {{ Form::hidden('_method', 'POST') }}

                    <div class="form-group">
                        {{ Form::text('title', null, ['placeholder' => 'What are you writing about..?', 'class' => 'input-block', 'required']) }}
                    </div>

                    <div class="form-group">
                        {!! Form::textarea('body', null, ['placeholder' => 'Be inspire! Write your thoughts...', 'class' => 'input-block', 'required']) !!}
                    </div>

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