@extends('emails.layouts.master')

@section('body')
    <table style="width:100%;max-width:620px;margin:0 auto;background-color:#ffffff;">
        <tbody>
        @if($greeting)
        <tr>
            <td style="padding: 30px 30px 20px">
                {{ $greeting }}
            </td>
        </tr>
        @endif
        
        <tr>
            <td style="padding: 0 30px">
                {!! auto_p($content) !!}
            </td>
        </tr>

        @if(data_get($template, 'params.regards') == "on")
        <tr>
            <td style="padding: 30px 30px 20px">
                {!! auto_p($global_footer) !!}
            </td>
        </tr>
        @endif
        </tbody>
    </table>
@endsection
