1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 21:52:35 +01:00
invoiceninja/resources/views/portal/ninja2020/generic/email_preferences.blade.php

38 lines
1.2 KiB
PHP
Raw Normal View History

2024-01-17 17:41:54 +01:00
@extends('portal.ninja2020.layout.clean') @section('meta_title',
ctrans('texts.preferences')) @section('body')
<div class="flex h-screen">
<div class="m-auto md:w-1/3 lg:w-1/5">
<div class="flex flex-col items-center">
<img
2024-01-19 03:45:24 +01:00
src="{{ $company->present()->logo() }}"
2024-01-17 17:41:54 +01:00
class="border-gray-100 h-18 pb-4"
2024-01-19 03:45:24 +01:00
alt="{{ $company->present()->name() }}"
2024-01-17 17:41:54 +01:00
/>
<h1 class="text-center text-2xl mt-10">
{{ ctrans('texts.email_settings') }}
</h1>
<form class="my-4" method="post">
@csrf @method('put')
2024-01-19 03:45:24 +01:00
<label for="receive_emails">
<input type="checkbox" name="receive_emails"
id="receive_emails"
{{ $receive_emails ? 'checked' : '' }} />
2024-01-17 17:41:54 +01:00
<span>
2024-01-19 03:45:24 +01:00
{{ ctrans('texts.resubscribe') }}
2024-01-17 17:41:54 +01:00
</span>
</label>
<div class="block my-4">
<button class="button button-secondary button-block">
{{ ctrans('texts.save') }}
</button>
</div>
</form>
</div>
</div>
</div>
@stop