{* +--------------------------------------------------------------------+ | Copyright CiviCRM LLC. All rights reserved. | | | | This work is published under the GNU AGPLv3 license with some | | permitted exceptions and without any warranty. For full license | | and copyright information, see https://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {* this template is used for adding/editing badge layouts *}

{if $action eq 1}{ts}New Badge Layout{/ts}{elseif $action eq 2}{ts}Edit Badge Layout{/ts}{else}{ts}Delete Badge Layout{/ts}{/if}

{include file="CRM/common/formButtons.tpl" location="top"}
{if $action eq 8}
{ts}This may mean the loss of a substantial amount of data, and the action cannot be undone.{/ts} {ts}Do you want to continue?{/ts}
{else}
{$form.title.label} {$form.title.html}
{$form.label_format_name.label} {$form.label_format_name.html} {help id="id-label_format"}
{$form.description.label} {$form.description.html}
{$form.image_1.label}
{$form.image_1.html}
{ts}Click above and select a file by double clicking on it.{/ts}
{$form.width_image_1.html}
{$form.width_image_1.label}
{$form.height_image_1.html}
{$form.height_image_1.label}
{$form.image_2.label}
{$form.image_2.html}
{ts}Click above and select a file by double clicking on it.{/ts}
{$form.width_image_2.html}
{$form.width_image_2.label}
{$form.height_image_2.html}
{$form.height_image_2.label}
{$form.show_participant_image.label}
{$form.show_participant_image.html}
{ts}Select this option if you want to use a contact's image on their name badge.{/ts}
{$form.width_participant_image.html}
{$form.width_participant_image.label}
{$form.height_participant_image.html}
{$form.height_participant_image.label}
{$form.alignment_participant_image.html}
{$form.alignment_participant_image.label}
{section name='i' start=1 loop=$rowCount} {assign var='rowNumber' value=$smarty.section.i.index} {/section}
{ts}Row{/ts} {ts}Label{/ts} {ts}Font{/ts} {ts}Size{/ts} {ts}Style{/ts} {ts}Alignment{/ts}
#{$rowNumber} {$form.token.$rowNumber.html|crmAddClass:twenty} {$form.font_name.$rowNumber.html} {$form.font_size.$rowNumber.html} {$form.font_style.$rowNumber.html} {$form.text_alignment.$rowNumber.html}
{$form.add_barcode.label} {$form.add_barcode.html}   {ts}of type{/ts}    {$form.barcode_type.html}   {ts}on{/ts}   {$form.barcode_alignment.html}
{$form.is_active.label} {$form.is_active.html}
{$form.is_default.label} {$form.is_default.html}
{$form.is_reserved.label} {$form.is_reserved.html}
{/if}
{include file="CRM/common/formButtons.tpl" location="bottom"}