リビジョン 1711ffed app/View/top/contact.ctp
| app/View/top/contact.ctp | ||
|---|---|---|
| 1 |
<header> |
|
| 2 |
<div class="container"> |
|
| 3 |
<div class="row"> |
|
| 4 |
<div class="col-lg-12"> |
|
| 5 |
<div class="intro-text"> |
|
| 6 |
<span class="name">お問い合わせテスト3</span> |
|
| 7 |
</div> |
|
| 8 |
</div> |
|
| 9 |
</div> |
|
| 10 |
</div> |
|
| 11 |
</header> |
|
| 12 |
<div class="contact form"> |
|
| 13 |
<?php echo $this->Form->create('ContactValidate',array(
|
|
| 14 |
'inputDefaults' => array( |
|
| 15 |
'div' => 'form-group', |
|
| 16 |
'wrapInput' => false, |
|
| 17 |
'class' => 'form-control' |
|
| 18 |
), |
|
| 19 |
'class' => 'well')); ?> |
|
| 20 |
<fieldset> |
|
| 21 |
<legend><?php echo __('お問い合わせ'); ?></legend>
|
|
| 22 |
<?php |
|
| 23 |
echo $this->Form->input('name',array('label'=>'お名前'));
|
|
| 24 |
echo $this->Form->input('mail',array('label'=>'メールアドレス'));
|
|
| 25 |
echo $this->Form->input('comment',array('type'=>'textarea','label'=>'問い合わせ内容'));
|
|
| 26 |
?> |
|
| 27 |
<?php echo $this->Form->submit('送信する',array('class'=>'btn btn-info')); ?>
|
|
| 28 |
<?php echo $this->Form->end(); ?> |
|
| 29 |
</div> |
|
| 30 |
|
|
| 31 |
<?php echo $this->element('footer');?>
|
|
| 1 |
<!-- お問い合わせ --> |
|
| 2 |
<main role="main"> |
|
| 3 |
<article class="contact"> |
|
| 4 |
<h2> |
|
| 5 |
<img src="/img/img_h1_contact01.png" alt="お問い合わせ - 送信内容入力"> |
|
| 6 |
</h2> |
|
| 7 |
<p class="">PictCodeに関するお問い合わせやご相談、ご質問などがございましたら、下記のお問い合わせフォームより対応いたします。</p> |
|
| 8 |
<hr> |
|
| 9 |
<section> |
|
| 10 |
<dl> |
|
| 11 |
<dt><label for="">お名前</label></dt> |
|
| 12 |
<dd><input type="text" name="name" value="" id="" placeholder="お名前" /></dd> |
|
| 13 |
<dt><label for="">年齢</label></dt> |
|
| 14 |
<dd><input type="text" name="age" value="" id="" pattern="^[0-9A-Za-z]+$" placeholder="半角数字" /></dd> |
|
| 15 |
<dt><label for="">メールアドレス</label></dt> |
|
| 16 |
<dd><input type="text" name="email" value="" id="" pattern="^[0-9A-Za-z]+$" placeholder="半角英数字" /></dd> |
|
| 17 |
<dt><label for="">メールアドレス(確認用)</label></dt> |
|
| 18 |
<dd><input type="text" name="email" value="" id="" pattern="^[0-9A-Za-z]+$" placeholder="半角英文字(再入力)" /></dd> |
|
| 19 |
<dt><label for="">郵便番号</label></dt> |
|
| 20 |
<dd><input type="text" name="email" value="" id="" pattern="^[0-9A-Za-z]+$" placeholder="半角数字で入力して下さい" /></dd> |
|
| 21 |
<dt><label for="">ご住所</label></dt> |
|
| 22 |
<dd><input type="text" name="address01" value="" id="" placeholder="例) ○○県 ○○市○○町 ○丁目 ○‐○" /></dd> |
|
| 23 |
<dd><input type="text" name="address02" value="" id="" placeholder="例) ○○ビル○○号室" /></dd> |
|
| 24 |
<dt><label for="">お電話番号</label></dt> |
|
| 25 |
<dd><input type="text" name="email" value="" pattern="^[0-9]+$" id="" placeholder="半角数字" /></dd> |
|
| 26 |
<dt><label for="">お問い合わせ内容</label></dt> |
|
| 27 |
<dd><textarea type="text" name="details" value="" id="" placeholder="お問い合わせ内容をご記入ください"></textarea></dd> |
|
| 28 |
</dl> |
|
| 29 |
</section> |
|
| 30 |
<section class="button_area01"> |
|
| 31 |
<a href="index.html"><p class="button btn_back01"></p></a> |
|
| 32 |
<a href="contact_check.html"><p class="button btn_check01"></p></a> |
|
| 33 |
</section> |
|
| 34 |
</article> |
|
| 35 |
</main> |
|
他の形式にエクスポート: Unified diff