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

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

@include('flash::message')
{{ csrf_field() }}
{{ Form::label('username', trans('socialite::common.username')) }} {{ Form::text('username', $timeline->username, ['class' => 'form-control', 'placeholder' => trans('socialite::common.username'), 'disabled' => 'disabled']) }}
{{ Form::label('name', trans('socialite::auth.name')) }} {{ Form::text('name', $timeline->name, ['class' => 'form-control', 'placeholder' => trans('socialite::common.name_of_your_group')]) }} @if ($errors->has('name')) {{ $errors->first('name') }} @endif
{{ Form::label('about', trans('socialite::common.about')) }} {{ Form::textarea('about', $timeline->about, ['class' => 'form-control', 'placeholder' => trans('socialite::messages.create_group_placeholder'), 'rows' => '2', 'cols' => '20'])}}
{{ Form::label('type', trans('socialite::common.privacy')) }}
{{ Form::label('member_privacy', trans('socialite::common.label_group_member_privacy')) }} {{ Form::select('member_privacy', array('members' => trans('socialite::common.members'), 'only_admins' => trans('socialite::common.admins')), $group_details->member_privacy, array('class' => 'form-control col-sm-6')) }}
{{ Form::label('post_privacy', trans('socialite::common.label_group_timeline_post_privacy')) }} {{ Form::select('post_privacy', array('members' => trans('socialite::common.members'), 'only_admins' => trans('socialite::common.admins'), 'everyone' => trans('socialite::common.everyone')), $group_details->post_privacy, array('class' => 'form-control col-sm-6')) }}
{{ Form::label('event_privacy', trans('socialite::common.label_group_timeline_event_privacy')) }} {{ Form::select('event_privacy', array('members' => trans('socialite::common.members'), 'only_admins' => trans('socialite::common.admins')), $group_details->event_privacy, array('class' => 'form-control col-sm-6')) }}
{{ Form::submit(trans('socialite::common.update_group'), ['class' => 'btn btn-success']) }}
@endsection