1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00
invoiceninja/resources/views/accounts/template.blade.php

39 lines
1.7 KiB
PHP
Raw Normal View History

2015-09-17 21:01:06 +02:00
<div role="tabpanel" class="tab-pane {{ isset($active) && $active ? 'active' : '' }}" id="{{ $field }}">
<div class="panel-body">
@if (isset($isReminder) && $isReminder)
<div class="row">
<div class="col-md-6">
2015-09-20 23:05:02 +02:00
{!! Former::checkbox('enable_' . $field)
->text(trans('texts.enable'))->label('') !!}
{!! Former::input('num_days_' . $field)
->label(trans('texts.num_days_reminder'))
->addClass('enable-' . $field) !!}
2015-09-17 21:01:06 +02:00
</div>
</div>
@endif
<div class="row">
<div class="col-md-6">
2015-09-20 23:05:02 +02:00
{!! Former::text('email_subject_' . $field)
->label(trans('texts.subject'))
->addClass('enable-' . $field) !!}
2015-09-17 21:01:06 +02:00
<div class="pull-right"><a href="#" onclick="return resetText('{{ 'subject' }}', '{{ $field }}')">{{ trans("texts.reset") }}</a></div>
</div>
<div class="col-md-6">
<p>&nbsp;<p/>
<div id="{{ $field }}_subject_preview"></div>
</div>
</div>
<div class="row">
<div class="col-md-6">
2015-09-20 23:05:02 +02:00
{!! Former::textarea('email_template_' . $field)
->label(trans('texts.body'))
->addClass('enable-' . $field) !!}
2015-09-17 21:01:06 +02:00
<div class="pull-right"><a href="#" onclick="return resetText('{{ 'template' }}', '{{ $field }}')">{{ trans("texts.reset") }}</a></div>
</div>
<div class="col-md-6">
<p>&nbsp;<p/>
<div id="{{ $field }}_template_preview"></div>
</div>
</div>
</div>
</div>