@extends('socialite::layouts.default') @section('content')
@include('socialite::partials.home-leftbar',compact('trending_tags'))

{{ trans('socialite::common.view_album') }} {{ trans('socialite::common.edit_album') }}

@include('flash::message')
{{ csrf_field() }}
{{ Form::label('name', trans('socialite::auth.name'), ['class' => 'control-label']) }} {{ Form::text('name', $album->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')), $album->privacy ,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', $album->about, ['class' => 'form-control', 'placeholder' => trans('socialite::messages.create_album_placeholder'), 'rows' => '4', 'cols' => '20']) }}
{{ Form::label('album_photos[]', trans('socialite::common.add_more_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.update_album'), ['class' => 'btn btn-success']) }}
@endsection