@extends('layouts/default') {{-- Page title --}} @section('title') Update Alert Settings @parent @stop @section('header_right') {{ trans('general.back') }} @stop {{-- Page content --}} @section('content') {{ Form::open(['method' => 'POST', 'files' => false, 'autocomplete' => 'off', 'class' => 'form-horizontal', 'role' => 'form' ]) }} {{csrf_field()}}

Alerts

{{ Form::label('alerts_enabled', trans('admin/settings/general.alerts_enabled')) }}
{{ Form::checkbox('alerts_enabled', '1', Input::old('alerts_enabled', $setting->alerts_enabled),array('class' => 'minimal')) }} {{ trans('general.yes') }}
{{ Form::label('show_alerts_in_menu', trans('admin/settings/general.show_alerts_in_menu')) }}
{{ Form::checkbox('show_alerts_in_menu', '1', Input::old('show_alerts_in_menu', $setting->show_alerts_in_menu),array('class' => 'minimal')) }} {{ trans('general.yes') }}
{{ Form::label('alert_email', trans('admin/settings/general.alert_email')) }}
{{ Form::text('alert_email', Input::old('alert_email', $setting->alert_email), array('class' => 'form-control','placeholder' => 'admin@yourcompany.com')) }} {!! $errors->first('alert_email', ':message
') !!}

Email addresses or distribution lists you want alerts to be sent to, comma separated

{{ Form::label('admin_cc_email', trans('admin/settings/general.admin_cc_email')) }}
{{ Form::text('admin_cc_email', Input::old('admin_cc_email', $setting->admin_cc_email), array('class' => 'form-control','placeholder' => 'admin@yourcompany.com')) }} {!! $errors->first('admin_cc_email', ':message
') !!}

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

{{ Form::label('alert_interval', trans('admin/settings/general.alert_interval')) }}
{{ Form::text('alert_interval', Input::old('alert_interval', $setting->alert_interval), array('class' => 'form-control','placeholder' => '30', 'maxlength'=>'3', 'style'=>'width: 60px;')) }} {!! $errors->first('alert_interval', ':message') !!}
{{ Form::label('alert_threshold', trans('admin/settings/general.alert_inv_threshold')) }}
{{ Form::text('alert_threshold', Input::old('alert_threshold', $setting->alert_threshold), array('class' => 'form-control','placeholder' => '5', 'maxlength'=>'3', 'style'=>'width: 60px;')) }} {!! $errors->first('alert_threshold', ':message') !!}
{{ Form::label('audit_interval', trans('admin/settings/general.audit_interval')) }}
{{ Form::text('audit_interval', Input::old('audit_interval', $setting->audit_interval), array('class' => 'form-control','placeholder' => '12', 'maxlength'=>'3', 'style'=>'width: 60px;')) }} {{ trans('general.months') }}
{!! $errors->first('audit_interval', ':message') !!}

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

{{ Form::label('audit_warning_days', trans('admin/settings/general.audit_warning_days')) }}
{{ Form::text('audit_warning_days', Input::old('audit_warning_days', $setting->audit_warning_days), array('class' => 'form-control','placeholder' => '14', 'maxlength'=>'3', 'style'=>'width: 60px;')) }} {{ trans('general.days') }}
{!! $errors->first('audit_warning_days', ':message') !!}

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

{{Form::close()}} @stop