@if (session()->has('save'))
{{session('save')}}
@endif @if(session()->has('success'))
{{session('success')}}
@endif @if(session()->has('error'))
{{session('error')}}
@endif @if(session()->has('message'))
{{session('message')}}
@endif
{{csrf_field()}}
{{ Form::label('slack_endpoint', trans('admin/settings/general.slack_endpoint')) }}
@if (config('app.lock_passwords')===true) {{-- {{ Form::text('slack_endpoint', old('slack_endpoint', $setting->slack_endpoint), array('class' => 'form-control','disabled'=>'disabled','placeholder' => 'https://hooks.slack.com/services/XXXXXXXXXXXXXXXXXXXXX', 'id' => 'slack_endpoint')) }}--}}

{{ trans('general.feature_disabled') }}


@else
{{-- {{ Form::text('slack_endpoint', old('slack_endpoint', $setting->slack_endpoint), array('class' => 'form-control','placeholder' => 'https://hooks.slack.com/services/XXXXXXXXXXXXXXXXXXXXX', 'id' => 'slack_endpoint')) }}--}} @endif {!! $errors->first('slack_endpoint', '') !!}
{{ Form::label('slack_channel', trans('admin/settings/general.slack_channel')) }}
@if (config('app.lock_passwords')===true)

{{ trans('general.feature_disabled') }}

@else
@endif {!! $errors->first('slack_channel', '') !!}
{{ Form::label('slack_botname', trans('admin/settings/general.slack_botname')) }}
@if (config('app.lock_passwords')===true) {{-- {{ Form::text('slack_botname', old('slack_botname', $setting->slack_botname), array('class' => 'form-control','disabled'=>'disabled','placeholder' => 'Snipe-Bot')) }}--}}

{{ trans('general.feature_disabled') }}

@else
@endif {!! $errors->first('slack_botname', '') !!}
@if($slack_endpoint != null && $slack_channel != null && $slack_botname != null)
{{ Form::label('test_slack', 'Test Slack') }}
@endif