リビジョン 8b8631af app/View/users/register.ctp

差分を見る:

app/View/users/register.ctp
13 13
			<div id="contents">
14 14
			<?php echo $this->Form->create('User',array(
15 15
										'div' => false,
16
										'type'=>'post',
17
										//action'=>'register',
16
										'novalidate' => true,
17
										'inputDefaults' => array(
18
									        'before'  => '<dt>',
19
									        'between' => '</dt><dd>',
20
									        'after' => '</dd>',
21
									        'div' => false
22
									        )
18 23
										)); ?>
19 24
				<fieldset>
20 25
					<section>
21 26
						<dl>
22 27
							<?php
23
								echo 
24
								'<dt><label for="">ニックネーム</label></dt>
25
								<dd>';
26
								echo $this->Form->text('login_id',
28
								echo $this->Form->input('login_id',
27 29
									array( 'type' => 'text',
30
											'label' => 'ニックネーム',
28 31
											'placeholder'=>'ニックネーム'
29 32
										));
30
								echo 
31
								'</dd>
32
								<dt><label for="">パスワード</label></dt>
33
								<dd>';
34
								echo $this->Form->text('password',
33
								echo $this->Form->input('password',
35 34
									array( 'placeholder'=>'パスワード',
35
											'label' => 'パスワード',
36 36
											'maxlength' => '50',
37 37
											'type' => 'password'
38 38
										));
39
								echo 
40
								'</dd>
41
								<dt><label for="">パスワード(確認用)</label></dt>
42
								<dd>';
43
								 echo $this->Form->text('password_confirm',
39
								 echo $this->Form->input('password_confirm',
44 40
								  	array( 'placeholder'=>'パスワード(確認用)',
41
											'label' => 'パスワード(確認用)',
45 42
								  		 'maxlength' => '50', 
46 43
								  		  'type' => 'password'
47 44
								  		));
48
								 echo
49
								'</dd>
50
								<dt><label for="">メールアドレス</label></dt>
51
								<dd>';
52
								echo $this->Form->text( 'email', array('placeholder'=>'メールアドレス',
45
								echo $this->Form->input( 'email',
46
									array('placeholder'=>'メールアドレス',
47
											'label' => 'メールアドレス',
53 48
											'maxlength' => '255',
54 49
								 			'type' => 'email'));
55 50

  
56 51

  
57
								 $this->Form->input('user_flg',1);
58
								 $this->Form->input('status',1);
52
								echo $this->Form->input('user_flg',
53
								 	array(	'type' => 'hidden',
54
										 	'value' => 0,	
55
								 		));
56
								echo $this->Form->input('status',
57
								 	array(	'type' => 'hidden',
58
										 	'value' => 0,	
59
								 		));
59 60
							?>
60 61
						</dl>
61 62
					</section>
62 63
				</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 64
			</div>
69 65
				<section class="button_area01">
70 66
					<a href="javascript:history.back();">
71 67
						<p class="button btn_back01"></p>
72 68
					</a>
73
					<a href="/users/confirm">
69
				<?php  echo $this->Form->submit('',array('class'=>'button btn_check01')); ?>
70
				<?php  echo $this->Form->end(); ?>
71
<!-- 					<a href="/users/confirm">
74 72
						<p class="button btn_check01"></p>
75 73
					</a>
76
				</section>
74
 -->				</section>
77 75
		</article>
78 76
	</main>
79 77

  

他の形式にエクスポート: Unified diff