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