@extends('layouts.app')

@section('title','Add Video to gallery')

@section('content')
<div class="row">
    <div class="col-md-12">
        <div class="panel panel-default">
            <div class="panel-heading">Add Video to gallery</div>
            <div class="panel-body">
                @include('errors.form')
                <form method="POST" action="{{ url('/admin/gallery/add/video') }}">
                    {{ csrf_field() }}
                    <input type="hidden" name="_method" value="PUT">
                    <div class="form-group">
                        <label>Title</label>
                        <input type="text" name="title" class="form-control" required>
                    </div>
                    <div class="form-group">
                        <label>Youtube Link</label>
                        <input type="url" name="url" class="form-control" required>
                    </div>
                    <input type="submit" name="submit" value="Add Video to gallery" class="btn btn-success">
                </form>
            </div>
        </div>
    </div>
</div>
@endsection
