OSDN Git Service

テストケースを追加した
[webchat/WebChat.git] / public / profile / registor.ejs
1 <!DOCTYPE html>\r
2 <html>\r
3 <head>\r
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">\r
5 <meta http-equiv="cache-control" content="no-cache">\r
6 <title>登録</title>\r
7 </head>\r
8 <body>\r
9 <h1>登録</h1>\r
10 <div id="content">\r
11         <form action="/profile/registor" method="POST">\r
12                 <table>\r
13                 <% for(var key in alias) {%>\r
14                         <% if(typeof alias[key] != "undefined" && alias[key].visible_registor) {%>\r
15                                 <tr>\r
16                                         <td><%= alias[key].name %></td>\r
17                                         <td>\r
18                                         <% if(alias[key].type == "textarea"){ %>\r
19                                                 <textarea name="<%= key %>" rows="4" cols="50"></textarea>\r
20                                         <% }else{ %>\r
21                                                 <input type="text" value="" name="<%= key %>"/>\r
22                                         <% } %>\r
23                                         </td>\r
24                                 </tr>\r
25                         <% } %>\r
26                 <% } %>\r
27                 </table>\r
28                 <input type="hidden" name="_csrf" value="<%= token %>"></input>\r
29                 <input type="submit" value="登録" name="registor"/>\r
30         </form>\r
31 </div>\r
32 </body>\r
33 </html>\r