サインアップ用画面のスタイル適用
authorOHASHI, Norikazu <katz@neko-mori.sakura.ne.jp>
Sat, 11 May 2019 22:38:33 +0000 (07:38 +0900)
committerOHASHI, Norikazu <katz@neko-mori.sakura.ne.jp>
Sat, 11 May 2019 22:38:33 +0000 (07:38 +0900)
sinatra/app/views/signup.haml

index 83de15b..09bb91c 100644 (file)
         %label{ :for => 'name' }
           %span
             アカウント:
-        %input{ :name => 'name', :id => 'name', :size => 10, :maxlength => 10, :required => true}
+        %input{ :name => 'name', :type => 'text', :class => 'input_text', :id => 'name', :size => 10, :maxlength => 10, :required => true}
       
       .item  
         %label{ :for => 'full_name' }
           %span
             フルネーム:
-        %input{ :name => 'full_name', :id => 'full_name', :size => 30, :maxlength => 127}
+        %input{ :name => 'full_name', :type => 'text', :class => 'input_text', :id => 'full_name', :size => 30, :maxlength => 127}
         
       .item
         %label{ :for => 'passwd' }
           %span
             パスワード:
-        %input{ :name => 'passwd', :type => 'password', :id => 'passwd', :pattern => '.{6,}', :required => true }
+        %input{ :name => 'passwd', :type => 'password', :class => 'input_text', :id => 'passwd', :pattern => '.{6,}', :required => true }
 
       .item
         %label{ :for => 'passwdConfirm'}
           %span
             パスワード(確認用):
-        %input{ :type => 'password', :id => 'passwdConfirm', :pattern => '.{6,}', :required => true, :oninput => 'checkSameForm(this, "passwd", "パスワードが一致しません。")' }
+        %input{ :type => 'password', :class => 'input_text', :id => 'passwdConfirm', :pattern => '.{6,}', :required => true, :oninput => 'checkSameForm(this, "passwd", "パスワードが一致しません。")' }
 
       .item
         %label{ :for => 'email' }
           %span
             Eメールアドレス:
-        %input{ :name => 'email', :type => 'email', :id => 'email', :size => 30, :maxlength => 127, :required => true}
+        %input{ :name => 'email', :type => 'email', :class => 'input_text', :id => 'email', :size => 30, :maxlength => 127, :required => true}
       
     .buttons
       %hr