From: konekoneko Date: Wed, 28 Nov 2012 20:44:17 +0000 (+0900) Subject: textarea以外を指定した場合は単一行のテキストボックスで表示するようにした X-Git-Url: http://git.osdn.jp/view?a=commitdiff_plain;h=b8c36bfc64f6ce1777b3f090e606415c4593e7f6;p=webchat%2FWebChat.git textarea以外を指定した場合は単一行のテキストボックスで表示するようにした --- diff --git a/public/profile/edit.ejs b/public/profile/edit.ejs index 702612f..15b612b 100644 --- a/public/profile/edit.ejs +++ b/public/profile/edit.ejs @@ -25,10 +25,10 @@ <%= alias[key].name %> - <% if(alias[key].type == "text"){ %> - - <% }else if(alias[key].type == "textarea"){ %> + <% if(alias[key].type == "textarea"){ %> + <% }else{ %> + <% } %> diff --git a/public/profile/registor.ejs b/public/profile/registor.ejs index d4b39fc..7b25d0f 100644 --- a/public/profile/registor.ejs +++ b/public/profile/registor.ejs @@ -22,10 +22,10 @@ <%= alias[key].name %> - <% if(alias[key].type == "text"){ %> - - <% }else if(alias[key].type == "textarea"){ %> + <% if(alias[key].type == "textarea"){ %> + <% }else{ %> + <% } %>