PHP Classes

File: resources/views/articles/edit.blade.php

Recommend this page to a friend!
  Classes of Nahidul Hasan   Laravel Eloquent Query Filter for Article Blogs   resources/views/articles/edit.blade.php   Download  
File: resources/views/articles/edit.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Laravel Eloquent Query Filter for Article Blogs
Example blog application of Eloquent query filters
Author: By
Last change:
Date: 5 months ago
Size: 882 bytes
 

Contents

Class file image Download
@extends('layout')

@section('content')
    <div class="row">
        <div class="col-lg-12 margin-tb">
            <div class="pull-left">
                <h2>Edit Article</h2>
            </div>
            <div class="pull-right">
                <a class="btn btn-primary" href="{{ route('articles.index') }}"> Back</a>
            </div>
        </div>
    </div>

    @if (count($errors) > 0)
        <div class="alert alert-danger">
            <strong>Whoops!</strong> There were some problems with your input.<br><br>
            <ul>
                @foreach ($errors->all() as $error)
                    <li>{{ $error }}</li>
                @endforeach
            </ul>
        </div>
    @endif


    {!! Form::model($article, ['method' => 'PATCH','route' => ['articles.update', $article->id]]) !!}
    @include('articles.form')
    {!! Form::close() !!}

@endsection