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

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