リビジョン 04e657a7 app/View/users/add.ctp
| app/View/users/add.ctp | ||
|---|---|---|
| 1 |
<div class="users form"> |
|
| 2 |
<?php echo $this->Form->create('User'); ?>
|
|
| 1 |
<main role="main"> |
|
| 2 |
<article class="register"> |
|
| 3 |
<h2> |
|
| 4 |
<img src="/img/img_h1_register01.png" alt="PictCode登録 - 情報入力"> |
|
| 5 |
</h2> |
|
| 6 |
<ol> |
|
| 7 |
<li id="navigator01_on"></li> |
|
| 8 |
<li id="navigator02_off"></li> |
|
| 9 |
<li id="navigator03_off"></li> |
|
| 10 |
<li id="navigator04_off"></li> |
|
| 11 |
</ol> |
|
| 12 |
<p class="">PictCodeに新規登録を行います。登録の際にはご両親の付き添い、または管理のもと、お間違いのないよう入力を行ってください。</p> |
|
| 13 |
<div id="contents"> |
|
| 14 |
<?php echo $this->Form->create('User',array(
|
|
| 15 |
'div' => false, |
|
| 16 |
'type'=>'post', |
|
| 17 |
'action'=>'signup' |
|
| 18 |
'inputDefaults' => array( |
|
| 19 |
'before' => '<dt>', |
|
| 20 |
'between' => '</dt><dd>', |
|
| 21 |
'after' => '</dd>', |
|
| 22 |
'wrapInput' => false, |
|
| 23 |
), |
|
| 24 |
'class' => 'well')); ?> |
|
| 25 |
<fieldset> |
|
| 26 |
<section> |
|
| 27 |
<dl> |
|
| 28 |
<?php |
|
| 29 |
echo |
|
| 30 |
'<dt><label for="">ニックネーム</label></dt> |
|
| 31 |
<dd>'; |
|
| 32 |
echo $this->Form->text('login_id',
|
|
| 33 |
array( 'type' => 'text', |
|
| 34 |
'placeholder'=>'ニックネーム' |
|
| 35 |
)); |
|
| 36 |
echo |
|
| 37 |
'</dd> |
|
| 38 |
<dt><label for="">パスワード</label></dt> |
|
| 39 |
<dd>'; |
|
| 40 |
echo $this->Form->text('password',
|
|
| 41 |
array( 'placeholder'=>'パスワード', |
|
| 42 |
'maxlength' => '50', |
|
| 43 |
'type' => 'password' |
|
| 44 |
)); |
|
| 45 |
echo |
|
| 46 |
'</dd> |
|
| 47 |
<dt><label for="">パスワード(確認用)</label></dt> |
|
| 48 |
<dd>'; |
|
| 49 |
echo $this->Form->text('password_confirm',
|
|
| 50 |
array( 'placeholder'=>'パスワード(確認用)', |
|
| 51 |
'maxlength' => '50', |
|
| 52 |
'type' => 'password' |
|
| 53 |
)); |
|
| 54 |
echo |
|
| 55 |
'</dd> |
|
| 56 |
<dt><label for="">メールアドレス</label></dt> |
|
| 57 |
<dd>'; |
|
| 58 |
echo $this->Form->text( 'username', array( 'maxlength' => '255', 'type' => 'email')); |
|
| 59 |
|
|
| 60 |
|
|
| 61 |
$this->Form->input('user_flg',1);
|
|
| 62 |
$this->Form->input('status',1);
|
|
| 63 |
?> |
|
| 64 |
</dl> |
|
| 65 |
</section> |
|
| 66 |
</fieldset> |
|
| 67 |
<?php //echo $this->Form->end(__('Submit')); ?>
|
|
| 68 |
<?php echo $this->Form->end('Register'); ?>
|
|
| 69 |
</div> |
|
| 70 |
<section class="button_area01"> |
|
| 71 |
<a href="index.html"><p class="button btn_back01"></p></a> |
|
| 72 |
<a href="register_check.html"><p class="button btn_check01"></p></a> |
|
| 73 |
</section> |
|
| 74 |
</article> |
|
| 75 |
</main> |
|
| 76 |
|
|
| 77 |
|
|
| 78 |
|
|
| 79 |
|
|
| 80 |
|
|
| 81 |
|
|
| 82 |
<!-- <div class="users form"> |
|
| 83 |
<?php //echo $this->Form->create('User'); ?>
|
|
| 3 | 84 |
<fieldset> |
| 4 |
<legend><?php echo __('Add User'); ?></legend>
|
|
| 85 |
<legend><?php //echo __('Add User'); ?></legend>
|
|
| 5 | 86 |
<?php |
| 6 |
echo $this->Form->input('login_id',array( 'type' => 'text'));
|
|
| 7 |
echo $this->Form->input('password');
|
|
| 8 |
echo $this->Form->input('user_flg');
|
|
| 9 |
echo $this->Form->input('status', array(
|
|
| 10 |
'options' => array('0' => 'Active', '1' => 'expire')));
|
|
| 87 |
//echo $this->Form->input('login_id',array( 'type' => 'text'));
|
|
| 88 |
//echo $this->Form->input('password');
|
|
| 89 |
//echo $this->Form->input('user_flg');
|
|
| 90 |
//echo $this->Form->input('status', array(
|
|
| 91 |
//'options' => array('0' => 'Active', '1' => 'expire')));
|
|
| 11 | 92 |
?> |
| 12 | 93 |
</fieldset> |
| 13 |
<?php echo $this->Form->end(__('Submit')); ?>
|
|
| 14 |
</div> |
|
| 94 |
<?php //echo $this->Form->end(__('Submit')); ?>
|
|
| 95 |
</div> -->
|
|
| 15 | 96 |
<!-- <div class="actions"> |
| 16 | 97 |
<h3><?php //echo __('Actions'); ?></h3>
|
| 17 | 98 |
<ul> |
他の形式にエクスポート: Unified diff