@extends('layouts/default') {{-- Page title --}} @section('title') Update General 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()}}

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

{{ Form::label('full_multiple_companies_support', trans('admin/settings/general.full_multiple_companies_support_text')) }}
{{ Form::checkbox('full_multiple_companies_support', '1', Input::old('full_multiple_companies_support', $setting->full_multiple_companies_support),array('class' => 'minimal')) }} {{ trans('admin/settings/general.full_multiple_companies_support_text') }} {!! $errors->first('full_multiple_companies_support', ':message') !!}

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

{{ Form::label('full_multiple_companies_support', trans('admin/settings/general.require_accept_signature')) }}
{{ Form::checkbox('require_accept_signature', '1', Input::old('require_accept_signature', $setting->require_accept_signature),array('class' => 'minimal')) }} {{ trans('general.yes') }} {!! $errors->first('require_accept_signature', ':message') !!}

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

{{ Form::label('email_domain', trans('general.email_domain')) }}
{{ Form::text('email_domain', Input::old('email_domain', $setting->email_domain), array('class' => 'form-control','placeholder' => 'example.com')) }} {{ trans('general.email_domain_help') }} {!! $errors->first('email_domain', ':message') !!}
{{ Form::label('email_format', trans('general.email_format')) }}
{!! Form::username_format('email_format', Input::old('email_format', $setting->email_format), 'select2') !!} {!! $errors->first('email_format', ':message') !!}
{{ Form::label('username_format', trans('general.username_format')) }}
{!! Form::username_format('username_format', Input::old('username_format', $setting->username_format), 'select2') !!} {!! $errors->first('username_format', ':message') !!}
{{ Form::label('load_remote', trans('admin/settings/general.load_remote_text')) }}
{{ Form::checkbox('load_remote', '1', Input::old('load_remote', $setting->load_remote),array('class' => 'minimal')) }} {{ trans('admin/settings/general.load_remote_help_text') }}
{{ Form::label('per_page', trans('admin/settings/general.per_page')) }}
{{ Form::text('per_page', Input::old('per_page', $setting->per_page), array('class' => 'form-control','placeholder' => '5', 'maxlength'=>'3', 'style'=>'width: 60px;')) }} {!! $errors->first('per_page', ':message') !!}
{{ Form::label('thumbnail_max_h', trans('admin/settings/general.thumbnail_max_h')) }}
{{ Form::text('thumbnail_max_h', Input::old('thumbnail_max_h', $setting->thumbnail_max_h), array('class' => 'form-control','placeholder' => '50', 'maxlength'=>'3', 'style'=>'width: 60px;')) }}

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

{!! $errors->first('thumbnail_max_h', ':message') !!}
{{ Form::label('per_page', trans('admin/settings/general.default_eula_text')) }}
{{ Form::textarea('default_eula_text', Input::old('default_eula_text', $setting->default_eula_text), array('class' => 'form-control','placeholder' => 'Add your default EULA text')) }} {!! $errors->first('default_eula_text', ':message') !!}

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

{!! trans('admin/settings/general.eula_markdown') !!}

{{ Form::label('login_note', trans('admin/settings/general.login_note')) }}
@if (config('app.lock_passwords')) {!! $errors->first('login_note', ':message') !!}

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

@else {!! $errors->first('login_note', ':message') !!} @endif

{!! trans('admin/settings/general.login_note_help') !!}

{{ Form::label('login_note', 'Test Mail') }}

This will attempt to send a test mail to {{ config('mail.from.address') }}.

{{ Form::close() }} @stop @section('moar_scripts') @stop