@extends('socialite::layouts.default') @section('content')

{{ trans('socialite::common.create_album') }}

@include('flash::message')
{{ csrf_field() }}
{{ Form::label('name', trans('socialite::auth.name'), ['class' => 'control-label']) }} {{ Form::text('name', old('name'), ['class' => 'form-control', 'placeholder' => trans('socialite::common.name_of_the_album')]) }} @if ($errors->has('name')) {{ $errors->first('name') }} @endif
{{ Form::label('privacy', trans('socialite::common.privacy_type'), ['class' => 'control-label']) }} {{ Form::select('privacy', array('' => trans('socialite::admin.please_select'), 'private' => trans('socialite::common.private'), 'public' => trans('socialite::common.public')), 'public' ,array('class' => 'form-control')) }} @if ($errors->has('privacy')) {{ $errors->first('privacy') }} @endif
{{ Form::label('about', trans('socialite::common.about'), ['class' => 'control-label']) }} {{ Form::textarea('about', old('about'), ['class' => 'form-control', 'placeholder' => trans('socialite::messages.create_album_placeholder'), 'rows' => '4', 'cols' => '20']) }}
{{ Form::label('album_photos', trans('socialite::common.upload_photos'), ['class' => 'control-label']) }} {{ Form::file('album_photos[]', ['multiple' => 'multiple', 'accept' => 'image/jpeg,image/png,image/gif']) }}
{{ Form::label('album_videos[]', trans('socialite::common.youtube_links'), ['class' => 'control-label']) }}
{{ Form::text('album_videos[]', null, ['class' => 'form-control youtube_link', 'placeholder' => trans('socialite::common.copy_paste_youtube_link')] ) }}
{{ Form::submit(trans('socialite::common.create_album'), ['class' => 'btn btn-success']) }}
@include('socialite::partials.home-rightbar',compact('suggested_users','suggested_groups','suggested_pages','timeline'))
@endsection