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

Updated contact.php to indicate required fields #27

Merged
merged 1 commit into from
Oct 28, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>