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

{{ trans('socialite::admin.edit_group') }} ({{ $timeline->name }})

@include('flash::message')
{{ csrf_field() }}
{{ Form::label('name', trans('socialite::auth.name'), ['class' => 'control-label']) }} {{ trans('socialite::admin.edit_group_text') }} @if ($errors->has('name')) {{ $errors->first('name') }} @endif
{{ Form::label('username', trans('socialite::common.username'), ['class' => 'control-label']) }} {{ trans('socialite::admin.group_username_text') }}
{{ Form::label('about', trans('socialite::common.about'), ['class' => 'control-label']) }} {{ Form::textarea('about', $timeline->about, ['class' => 'form-control', 'placeholder' => trans('socialite::common.about')])}} {{ trans('socialite::admin.group_about_text') }}
{{ Form::label('type', trans('socialite::admin.group_privacy'), ['class' => 'control-label']) }} {{ Form::select('type', array('open' => 'open group','closed' => 'closed group','secret' => 'secret group') , $groups->type , ['class' => 'form-control','placeholder' => 'Please Select']) }} {{ trans('socialite::admin.group_privacy_text') }} @if ($errors->has('type')) {{ $errors->first('type') }} @endif
{{ Form::label('member_privacy', trans('socialite::admin.add_privacy'), ['class' => 'control-label']) }} {{ Form::select('member_privacy', array('members' => 'Members','only_admins' => 'Only admins') , $groups->member_privacy , ['class' => 'form-control']) }} {{ trans('socialite::admin.add_privacy_text') }}
{{ Form::label('post_privacy', trans('socialite::admin.timeline_post_privacy'), ['class' => 'control-label']) }} {{ Form::select('post_privacy', array('members' => 'Members', 'only_admins' => 'Only admins') , $groups->post_privacy , ['class' => 'form-control']) }} {{ trans('socialite::admin.timeline_post_privacy_text') }}
{{ Form::label('event_privacy', trans('socialite::common.label_group_timeline_event_privacy')) }} {{ Form::select('event_privacy', array('members' => 'Members', 'only_admins' => 'Only admins'), $groups->event_privacy, array('class' => 'form-control col-sm-6')) }}
@endsection