@extends('header')
@section('content')
@parent
@include('accounts.nav', ['selected' => ACCOUNT_NOTIFICATIONS])
{!! Former::open()->addClass('warn-on-exit') !!}
{{ Former::populate($account) }}
{{ Former::populateField('notify_sent', intval(Auth::user()->notify_sent)) }}
{{ Former::populateField('notify_viewed', intval(Auth::user()->notify_viewed)) }}
{{ Former::populateField('notify_paid', intval(Auth::user()->notify_paid)) }}
{{ Former::populateField('notify_approved', intval(Auth::user()->notify_approved)) }}
{!! trans('texts.email_notifications') !!}
{!! Former::checkbox('notify_sent')->label(' ')->text(trans('texts.email_sent')) !!}
{!! Former::checkbox('notify_viewed')->label(' ')->text(trans('texts.email_viewed')) !!}
{!! Former::checkbox('notify_paid')->label(' ')->text(trans('texts.email_paid')) !!}
{!! Former::checkbox('notify_approved')->label(' ')->text(trans('texts.email_approved')) !!}
{!! Former::actions(
Button::success(trans('texts.save'))
->submit()->large()
->appendIcon(Icon::create('floppy-disk'))) !!}
{!! Former::close() !!}
@stop