<?php
/* Smarty version 3.1.40, created on 2022-07-08 15:40:52
  from '/home/mzpg3195/site.essentielweb/wp-content/plugins/paygreen-woocommerce/templates/form.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.40',
  'unifunc' => 'content_62c85004e3aa05_84101614',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'de8eb832fe66acb6e30379a8f06a6c16fb858a1a' => 
    array (
      0 => '/home/mzpg3195/site.essentielweb/wp-content/plugins/paygreen-woocommerce/templates/form.tpl',
      1 => 1657293553,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:./fields/partials/errors.tpl' => 1,
  ),
),false)) {
function content_62c85004e3aa05_84101614 (Smarty_Internal_Template $_smarty_tpl) {
?><form<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['attr']->value, 'val', false, 'key');
$_smarty_tpl->tpl_vars['val']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['val']->value) {
$_smarty_tpl->tpl_vars['val']->do_else = false;
?> <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['key']->value, ENT_QUOTES, 'UTF-8', true);?>
="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['val']->value, ENT_QUOTES, 'UTF-8', true);?>
"<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>>
    <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['fields']->value, 'field');
$_smarty_tpl->tpl_vars['field']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['field']->value) {
$_smarty_tpl->tpl_vars['field']->do_else = false;
?>
        <?php echo $_smarty_tpl->tpl_vars['field']->value;?>
    <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>

    <?php if ((isset($_smarty_tpl->tpl_vars['errors']->value))) {?>
        <?php $_smarty_tpl->_subTemplateRender("file:./fields/partials/errors.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('errors'=>$_smarty_tpl->tpl_vars['errors']->value), 0, false);
?>
    <?php }?>

    <div class="pgbutton__container pg__mtop-sm">
        <button type="submit" class="pgbutton">
            <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'pgtrans' ][ 0 ], array( $_smarty_tpl->tpl_vars['validate']->value ));?>

        </button>
    </div>
</form><?php }
}
