@extends('backend.layouts.layout-2') @if($edit) @section('page-title', trans('app.edit_videos')) @section('page-heading', trans('app.edit_videos')) @else @section('page-title', trans('app.add_videos')) @section('page-heading', trans('app.add_videos')) @endif @section('styles') @parent @endsection @section('scripts') @parent @endsection @section('content') @if($edit) {!! Form::open(['route' => ['videos.update',$video->id], 'method' => 'PUT','files' => true, 'id' => 'page-form']) !!} @else {!! Form::open(['route' => 'videos.store', 'files' => true, 'id' => 'page-form']) !!} @endif