/var/www/vhosts/ihelp.ro/httpdocs/templates/Causes
Edit: /var/www/vhosts/ihelp.ro/httpdocs/templates/Causes/add_donation.php (4559B)
Form->create($donation, ['url' => ['prefix' => false, 'controller' => 'Causes', 'action' => 'addDonation', 'slug' => $cause->slug, 'uuid' => $cause->uuid], 'novalidate' => true, 'class' => 'addDonation']);
?>
Form->control('cause_id', ['type' => 'hidden', 'value' => $causeId]);
echo $this->Form->control('value_set', [
'type' => 'radio',
'options' => $valueDonations,
'label' => false,
'templates' => [
'nestingLabel' => '{{hidden}}',
]
]);
?>
Form->control('value', [
'class' => 'value-donation custom-price form-control',
'step' => 50,
'label' => __('Alta suma'),
'min' => 0,
'type' => 'number',
]);
?>
Form->control('first_name'); ?>
Form->control('last_name'); ?>
Form->control('nickname'); ?>
Form->control('email'); ?>
Form->control('message', ['type' => 'textarea']); ?>
Form->control('ihelp_value', ['type' => 'select', 'options' => $valueDonationIhelp]); ?>
Form->control('is_anonymous', [
'type' => 'checkbox',
'label' => 'Is Anonymous',
'escape' => false
]); ?>
Form->button(__('Continua'), ['class' => 'btn full primary size-lg']); ?>
Form->end(); ?>