Skip to content
This repository has been archived by the owner on Nov 8, 2018. It is now read-only.

Commit

Permalink
Updated contact.php to indicate required fields
Browse files Browse the repository at this point in the history
To solve the issue of making the design of Contact Us Page more verbose ( #26 ). Added asterisk to clearly indicate the required fields to the user.
  • Loading branch information
divyaupadhyay committed Aug 10, 2015
1 parent 3230390 commit 1498ee3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions themes/default/views/contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,27 +34,27 @@
}
?>
<?php print form::open(NULL, array('id' => 'contactForm', 'name' => 'contactForm')); ?>
<div class="report_row">
<div class="report_row"><span class="required">*</span>
<strong><?php echo Kohana::lang('ui_main.contact_name'); ?>:</strong><br />
<?php print form::input('contact_name', $form['contact_name'], ' class="text"'); ?>
</div>
<div class="report_row">
<div class="report_row"><span class="required">*</span>
<strong><?php echo Kohana::lang('ui_main.contact_email'); ?>:</strong><br />
<?php print form::input('contact_email', $form['contact_email'], ' class="text"'); ?>
</div>
<div class="report_row">
<strong><?php echo Kohana::lang('ui_main.contact_phone'); ?>:</strong><br />
<?php print form::input('contact_phone', $form['contact_phone'], ' class="text"'); ?>
</div>
<div class="report_row">
<div class="report_row"><span class="required">*</span>
<strong><?php echo Kohana::lang('ui_main.contact_subject'); ?>:</strong><br />
<?php print form::input('contact_subject', $form['contact_subject'], ' class="text"'); ?>
</div>
<div class="report_row">
<div class="report_row"><span class="required">*</span>
<strong><?php echo Kohana::lang('ui_main.contact_message'); ?>:</strong><br />
<?php print form::textarea('contact_message', $form['contact_message'], ' rows="4" cols="40" class="textarea long" ') ?>
</div>
<div class="report_row">
<div class="report_row"><span class="required">*</span>
<strong><?php echo Kohana::lang('ui_main.contact_code'); ?>:</strong><br />
<?php print $captcha->render(); ?><br />
<?php print form::input('captcha', $form['captcha'], ' class="text"'); ?>
Expand All @@ -68,4 +68,4 @@
</div>
<!-- end contacts block -->
</div>
</div>
</div>

0 comments on commit 1498ee3

Please sign in to comment.