@extends('layouts.app') @section('content')
Dashboard - Create Download
@if (session('status')) @endif
{!! Form::open(['route' => 'downloads.store', 'class'=> 'form', 'files'=> 'true']) !!} @if(count($errors)>0 )
There were some problems adding the download.
    @foreach($errors->all() as $error)
  • {{$error}}
  • @endforeach
@endif @if(session()->has('message'))
{{ session()->get('message') }}
@endif
{!! Form::label('Download Title', 'Enter a title for the download') !!} {!! Form::text('downloadtitle', null, ['class'=> 'form-control', 'placeholder'=> 'Download Title', 'required']) !!} Enter the download title here
{!! Form::label('Download Status', 'Choose to hide or show item') !!} Select to either hide or show
{!! Form::label('Attach File', 'File') !!} {!! Form::file('file', ['class'=>'form-control','required']) !!} Choose a download attachment file
{!! Form::close() !!}
@endsection