pictcode / app / View / users / add.ctp @ b3a58ce1
履歴 | 表示 | アノテート | ダウンロード (3.464 KB)
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'); ?> |
84 |
<fieldset> |
85 |
<legend><?php //echo __('Add User'); ?></legend> |
86 |
<?php |
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'))); |
92 |
?> |
93 |
</fieldset> |
94 |
<?php //echo $this->Form->end(__('Submit')); ?> |
95 |
</div> --> |
96 |
<!-- <div class="actions"> |
97 |
<h3><?php //echo __('Actions'); ?></h3> |
98 |
<ul> |
99 |
|
100 |
<li><?php //echo $this->Html->link(__('List Users'), array('action' => 'index')); ?></li> |
101 |
<li><?php //echo $this->Html->link(__('List Logins'), array('controller' => 'logins', 'action' => 'index')); ?> </li> |
102 |
<li><?php //echo $this->Html->link(__('New Login'), array('controller' => 'logins', 'action' => 'add')); ?> </li> |
103 |
<li><?php //echo $this->Html->link(__('List Programs'), array('controller' => 'programs', 'action' => 'index')); ?> </li> |
104 |
<li><?php //echo $this->Html->link(__('New Program'), array('controller' => 'programs', 'action' => 'add')); ?> </li> |
105 |
</ul> |
106 |
</div> |
107 |
--> |