{{ trans('admin/settings/general.slack') }}

{{$successMessage}}
{{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', '') !!}