OSDN Git Service

0b00b2b19640d3bb265829bd387ff0c8acf14cf9
[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                         <tr>\r
15                                 <td><%= alias[key].name %></td>\r
16                                 <td>\r
17                                 <% if(alias[key].type == "textarea"){ %>\r
18                                         <textarea name="<%= key %>" rows="4" cols="50"></textarea>\r
19                                 <% }else{ %>\r
20                                         <input type="text" value="" name="<%= key %>"/>\r
21                                 <% } %>\r
22                                 </td>\r
23                         </tr>\r
24                 <% } %>\r
25                 </table>\r
26                 <input type="hidden" name="_csrf" value="<%= token %>"></input>\r
27                 <input type="submit" value="登録" name="registor"/>\r
28         </form>\r
29 </div>\r
30 </body>\r
31 </html>\r