@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('admin/settings/general.alert_title') }} @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()}}

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

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

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

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

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

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

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

{{ Form::label('audit_warning_days', trans('admin/settings/general.audit_warning_days')) }}
{{ Form::text('audit_warning_days', 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', '') !!}

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

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