Skip to content

Commit 16f171f

Browse files
committed
Merge pull request #11 from amarroni/before-production
fix contact form
2 parents 837fb77 + 1ff1ad8 commit 16f171f

File tree

1 file changed

+3
-3
lines changed
  • app/design/frontend/ultimo/rg/template/contacts

1 file changed

+3
-3
lines changed

app/design/frontend/ultimo/rg/template/contacts/form.phtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@
3636
<div class="field">
3737
<label for="name" class="required"><em>*</em><?php echo Mage::helper('contacts')->__('Name and Lastname') ?></label>
3838
<div class="input-box">
39-
<input name="name" id="name" title="<?php echo Mage::helper('core')->quoteEscape(Mage::helper('contacts')->__('Name and Lastname')) ?>" value="<?php echo $this->escapeHtml($this->helper('contacts')->getUserName()) ?>" class="input-text required-entry" type="text" placeholder="*<?php echo Mage::helper('contacts')->__('Name and Lastname') ?>" />
39+
<input name="name" id="name" title="<?php echo Mage::helper('core')->quoteEscape(Mage::helper('contacts')->__('Name and Lastname')) ?>" value="" class="input-text required-entry" type="text" placeholder="*<?php echo Mage::helper('contacts')->__('Name and Lastname') ?>" />
4040
</div>
4141
</div>
4242
<div class="field">
4343
<label for="email" class="required"><em>*</em><?php echo Mage::helper('contacts')->__('Email') ?></label>
4444
<div class="input-box">
45-
<input name="email" id="email" title="<?php echo Mage::helper('core')->quoteEscape(Mage::helper('contacts')->__('Email')) ?>" value="<?php echo $this->escapeHtml($this->helper('contacts')->getUserEmail()) ?>" class="input-text required-entry validate-email" type="text" placeholder="*<?php echo Mage::helper('core')->quoteEscape(Mage::helper('contacts')->__('Email')) ?>" />
45+
<input name="email" id="email" title="<?php echo Mage::helper('core')->quoteEscape(Mage::helper('contacts')->__('Email')) ?>" value="" class="input-text required-entry validate-email" type="text" placeholder="*<?php echo Mage::helper('core')->quoteEscape(Mage::helper('contacts')->__('Email')) ?>" />
4646
</div>
4747
</div>
4848
</li>
@@ -56,7 +56,7 @@
5656
<div class="field">
5757
<label for="mobile" class="required"><?php echo Mage::helper('contacts')->__('Mobile') ?></label>
5858
<div class="input-box">
59-
<input name="mobile" id="mobile" title="<?php echo Mage::helper('core')->quoteEscape(Mage::helper('contacts')->__('Email')) ?>" value="<?php echo $this->escapeHtml($this->helper('contacts')->getUserEmail()) ?>" class="input-text" type="text" placeholder="<?php echo Mage::helper('contacts')->__('Mobile') ?>"/>
59+
<input name="mobile" id="mobile" title="<?php echo Mage::helper('core')->quoteEscape(Mage::helper('contacts')->__('Email')) ?>" value="" class="input-text" type="text" placeholder="<?php echo Mage::helper('contacts')->__('Mobile') ?>"/>
6060
</div>
6161
</div>
6262
</li>

0 commit comments

Comments
 (0)