@extends('layouts.master') @section('title',__('Create Audio')) @section('breadcum') @endsection @section('maincontent')
{{ __('Back') }}
{{__('Create Audio')}}
{!! Form::open(['method' => 'POST', 'action' => 'AudioController@store', 'files' => true]) !!}
{!! Form::label('title', __('AudioTitle')) !!} {!! Form::text('title', old('title'), ['class' => 'form-control', 'placeholder' => __('Enter Audio Title')]) !!} {{ $errors->first('title') }}
{!! Form::label('maturity_rating', __('Maturity Rating')) !!} {!! Form::select('maturity_rating', array('all age' => __('All Age'), '13+' =>'13+', '16+' => '16+', '18+'=>'18+'), null, ['class' => 'form-control select2']) !!} {{ $errors->first('maturity_rating') }}
{!! Form::label('rating', __('Ratings')) !!} {!! Form::text('rating', old('rating'), ['class' => 'form-control', ]) !!} {{ $errors->first('rating') }}
{!! Form::label('a_language', __('Audio Languages')) !!}
{!! Form::select('a_language[]', $a_lans, null, ['class' => 'form-control select2', 'multiple']) !!}
{{ $errors->first('a_language') }}
{!! Form::label('genre_id',__('Genre')) !!}
{!! Form::select('genre_id[]', $genre_ls, null, ['class' => 'form-control select2', 'multiple']) !!}
{{ $errors->first('genre_id') }}
{{-- select to upload code start from here --}}
{!! Form::label('selecturls', __('Add Audio')) !!} {!! Form::select('selecturl', array('audiourl' => __('Audio URL'), 'upload_audio' => __('Upload Audio')), null, ['class' => 'form-control select2','id'=>'selecturl']) !!} {{ $errors->first('selecturl') }}
{!! Form::label('detail', __('Description')) !!} {!! Form::textarea('detail', old('detail'), ['class' => 'form-control materialize-textarea', 'rows' => '5']) !!} {{ $errors->first('detail') }}
{!! Form::label('featured', __('Featured')) !!}
{{ $errors->first('featured') }}
{!! Form::label('is_protect', __('Protected Video?')) !!}
{{ $errors->first('is_protect') }}
{{-- select to upload or add links code ends here --}}
{!! Form::label('', __('Choose Custom Thumbnail And Poster')) !!}
{{--
--}}
{{--
--}}
{!! Form::close() !!}
@endsection @section('script') @endsection