統計
| ブランチ: | リビジョン:

pictcode / app / View / users / register.ctp @ 2fa140ec

履歴 | 表示 | アノテート | ダウンロード (3.515 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'=>'register',
18
										)); ?>
19
				<fieldset>
20
					<section>
21
						<dl>
22
							<?php
23
								echo 
24
								'<dt><label for="">ニックネーム</label></dt>
25
								<dd>';
26
								echo $this->Form->text('login_id',
27
									array( 'type' => 'text',
28
											'placeholder'=>'ニックネーム'
29
										));
30
								echo 
31
								'</dd>
32
								<dt><label for="">パスワード</label></dt>
33
								<dd>';
34
								echo $this->Form->text('password',
35
									array( 'placeholder'=>'パスワード',
36
											'maxlength' => '50',
37
											'type' => 'password'
38
										));
39
								echo 
40
								'</dd>
41
								<dt><label for="">パスワード(確認用)</label></dt>
42
								<dd>';
43
								 echo $this->Form->text('password_confirm',
44
								  	array( 'placeholder'=>'パスワード(確認用)',
45
								  		 'maxlength' => '50', 
46
								  		  'type' => 'password'
47
								  		));
48
								 echo
49
								'</dd>
50
								<dt><label for="">メールアドレス</label></dt>
51
								<dd>';
52
								echo $this->Form->text( 'email', array('placeholder'=>'メールアドレス',
53
											'maxlength' => '255',
54
								 			'type' => 'email'));
55

    
56

    
57
								 $this->Form->input('user_flg',1);
58
								 $this->Form->input('status',1);
59
							?>
60
						</dl>
61
					</section>
62
				</fieldset>
63
				<?php  $this->Form->submit('送信する',array('class'=>'btn btn-info')); ?>
64
				<?php  $this->Form->end(); ?>
65
			<?php //echo $this->Form->end(__('Submit')); ?>
66
			<?php //echo $this->Form->end('Register'); ?>
67
			<?php //echo $this->Form->end(); ?>
68
			</div>
69
				<section class="button_area01">
70
					<a href="javascript:history.back();">
71
						<p class="button btn_back01"></p>
72
					</a>
73
					<a href="/users/confirm">
74
						<p class="button btn_check01"></p>
75
					</a>
76
				</section>
77
		</article>
78
	</main>
79

    
80

    
81

    
82

    
83

    
84

    
85
<!-- <div class="users form">
86
<?php //echo $this->Form->create('User'); ?>
87
	<fieldset>
88
		<legend><?php //echo __('Add User'); ?></legend>
89
	<?php
90
		//echo $this->Form->input('login_id',array( 'type' => 'text'));
91
		//echo $this->Form->input('password');
92
		//echo $this->Form->input('user_flg');
93
		//echo $this->Form->input('status', array(
94
		            //'options' => array('0' => 'Active', '1' => 'expire')));
95
	?>
96
	</fieldset>
97
<?php //echo $this->Form->end(__('Submit')); ?>
98
</div> -->
99
<!-- <div class="actions">
100
	<h3><?php //echo __('Actions'); ?></h3>
101
	<ul>
102

    
103
		<li><?php //echo $this->Html->link(__('List Users'), array('action' => 'index')); ?></li>
104
		<li><?php //echo $this->Html->link(__('List Logins'), array('controller' => 'logins', 'action' => 'index')); ?> </li>
105
		<li><?php //echo $this->Html->link(__('New Login'), array('controller' => 'logins', 'action' => 'add')); ?> </li>
106
		<li><?php //echo $this->Html->link(__('List Programs'), array('controller' => 'programs', 'action' => 'index')); ?> </li>
107
		<li><?php //echo $this->Html->link(__('New Program'), array('controller' => 'programs', 'action' => 'add')); ?> </li>
108
	</ul>
109
</div>
110
 -->