@extends('header') @section('head') @parent @include('money_script') @stop @section('content') @parent @include('accounts.nav', ['selected' => ACCOUNT_TEMPLATES_AND_REMINDERS, 'advanced' => true]) {!! Former::vertical_open()->addClass('warn-on-exit') !!} {!! Former::populate($account) !!} @foreach ([ENTITY_INVOICE, ENTITY_QUOTE, ENTITY_PAYMENT, REMINDER1, REMINDER2, REMINDER3] as $type) @foreach (['subject', 'template'] as $field) {!! Former::populateField("email_{$field}_{$type}", $templates[$type][$field]) !!} @endforeach @endforeach