context: "<style>\n.digital-document h1 {\nmargin: 0px;\ntext-align:center;\n}\n.digital-document {padding: 20px;}\n.subheader {\npadding-bottom: 20px;\n}\n</style>\n<div class=\"digital-document\">\n<div style=\"text-align: right; margin:\">\n<p style=\"margin: 0px !important\">{% trans 'APPROVED' %}</p>\n<p style=\"margin: 0px !important\">{% trans 'protocol' %} {{ vars.participant_application.protocol_number }}</p>\n<p style=\"margin: 0px !important\">{{ coop.short_name }}</p>\n<p style=\"margin: 0px !important\">{% trans 'from' %} {{ vars.participant_application.protocol_day_month_year }}</p>\n</div>\n\n{% if type == 'individual' %}\n<h1 class=\"header\">{% trans 'participant_application' %}</h1>\n<p style=\"text-align: center\">{{vars.full_abbr_genitive}} «{{vars.name}}»</p>\n<p style=\"text-align: right\">{{ meta.created_at }}, {{coop.city}}</p>\n\n<p>{% trans 'to_council_of' %} {{vars.full_abbr_genitive}} «{{vars.name}}» {% trans 'from_participant' %} {{ individual.last_name }} {{ individual.first_name }} {{ individual.middle_name }}. {% trans 'authorize_chairman_branch', branch.short_name %}</p>\n<div class=\"signature\">\n<p>{% trans 'signature' %} </p>\n<p>{{ individual.last_name }} {{ individual.first_name }} {{ individual.middle_name }}</p>\n</div>\n\n{% elif type == 'entrepreneur' %}\n<h1 class=\"header\">{% trans 'participant_application' %}</h1>\n<p style=\"text-align: center\">{{vars.full_abbr_genitive}} «{{vars.name}}»</p>\n<p style=\"text-align: right\">{{ meta.created_at }}, {{coop.city}}</p>\n\n<p>{% trans 'to_council_of' %} {{vars.full_abbr_genitive}} «{{vars.name}}» {% trans 'from_participant' %} {% trans 'ip' %} {{ entrepreneur.last_name }} {{ entrepreneur.first_name }} {{ entrepreneur.middle_name }}. {% trans 'authorize_chairman_branch', branch.short_name %}</p>\n<div class=\"signature\">\n<p>{% trans 'signature' %} </p>\n<p>{{ entrepreneur.last_name }} {{ entrepreneur.first_name }} {{ entrepreneur.middle_name }}</p>\n</div>\n{% elif type == 'organization' %}\n<h1 class=\"header\">{% trans 'participant_application' %}</h1>\n<p style=\"text-align: center\">{{vars.full_abbr_genitive}} «{{vars.name}}»</p>\n<p style=\"text-align: right\">{{ meta.created_at }}, {{coop.city}}</p>\n<p>{% trans 'to_council_of' %} {{vars.full_abbr_genitive}} «{{vars.name}}» {% trans 'from_participant' %} {{organization.short_name}}. {% trans 'request_to_join_legal_entity', organization.represented_by.position, organization.represented_by.last_name, organization.represented_by.first_name, organization.represented_by.middle_name, organization.represented_by.based_on, branch.short_name %}</p>\n<div class=\"signature\">\n<p>{% trans 'signature' %} </p>\n<p>{{ organization.represented_by.last_name }} {{ organization.represented_by.first_name }} {{ organization.represented_by.middle_name }}</p>\n</div>\n\n{% endif %}\n</div>" = '<style>\n.digital-document h1 {\nmargin: 0px;\ntext-align:center;\n}\n.digital-document {padding: 20px;}\n.subheader {\npadding-bottom: 20px;\n}\n</style>\n<div class="digital-document">\n<div style="text-align: right; margin:">\n<p style="margin: 0px !important">{% trans \'APPROVED\' %}</p>\n<p style="margin: 0px !important">{% trans \'protocol\' %} {{ vars.participant_application.protocol_number }}</p>\n<p style="margin: 0px !important">{{ coop.short_name }}</p>\n<p style="margin: 0px !important">{% trans \'from\' %} {{ vars.participant_application.protocol_day_month_year }}</p>\n</div>\n\n{% if type == \'individual\' %}\n<h1 class="header">{% trans \'participant_application\' %}</h1>\n<p style="text-align: center">{{vars.full_abbr_genitive}} «{{vars.name}}»</p>\n<p style="text-align: right">{{ meta.created_at }}, {{coop.city}}</p>\n\n<p>{% trans \'to_council_of\' %} {{vars.full_abbr_genitive}} «{{vars.name}}» {% trans \'from_participant\' %} {{ individual.last_name }} {{ individual.first_name }} {{ individual.middle_name }}. {% trans \'authorize_chairman_branch\', branch.short_name %}</p>\n<div class="signature">\n<p>{% trans \'signature\' %} </p>\n<p>{{ individual.last_name }} {{ individual.first_name }} {{ individual.middle_name }}</p>\n</div>\n\n{% elif type == \'entrepreneur\' %}\n<h1 class="header">{% trans \'participant_application\' %}</h1>\n<p style="text-align: center">{{vars.full_abbr_genitive}} «{{vars.name}}»</p>\n<p style="text-align: right">{{ meta.created_at }}, {{coop.city}}</p>\n\n<p>{% trans \'to_council_of\' %} {{vars.full_abbr_genitive}} «{{vars.name}}» {% trans \'from_participant\' %} {% trans \'ip\' %} {{ entrepreneur.last_name }} {{ entrepreneur.first_name }} {{ entrepreneur.middle_name }}. {% trans \'authorize_chairman_branch\', branch.short_name %}</p>\n<div class="signature">\n<p>{% trans \'signature\' %} </p>\n<p>{{ entrepreneur.last_name }} {{ entrepreneur.first_name }} {{ entrepreneur.middle_name }}</p>\n</div>\n{% elif type == \'organization\' %}\n<h1 class="header">{% trans \'participant_application\' %}</h1>\n<p style="text-align: center">{{vars.full_abbr_genitive}} «{{vars.name}}»</p>\n<p style="text-align: right">{{ meta.created_at }}, {{coop.city}}</p>\n<p>{% trans \'to_council_of\' %} {{vars.full_abbr_genitive}} «{{vars.name}}» {% trans \'from_participant\' %} {{organization.short_name}}. {% trans \'request_to_join_legal_entity\', organization.represented_by.position, organization.represented_by.last_name, organization.represented_by.first_name, organization.represented_by.middle_name, organization.represented_by.based_on, branch.short_name %}</p>\n<div class="signature">\n<p>{% trans \'signature\' %} </p>\n<p>{{ organization.represented_by.last_name }} {{ organization.represented_by.first_name }} {{ organization.represented_by.middle_name }}</p>\n</div>\n\n{% endif %}\n</div>'