OSDN Git Service

placeholder
authoryamat0jp <yamat0jp@yahoo.co.jp>
Wed, 6 Sep 2017 01:25:02 +0000 (10:25 +0900)
committeryamat0jp <yamat0jp@yahoo.co.jp>
Wed, 6 Sep 2017 01:25:02 +0000 (10:25 +0900)
templates/modules/index.htm

index 855c901..3b90b57 100755 (executable)
@@ -25,8 +25,8 @@
     {% module xsrf_form_html() %}
       <table>
         <tr><td>
-          <label><p>お名前</p><input name="name" class=name value={{username}}></label>
-          <label><p>タイトル</p><input name="title" class=title value="タイトルなし."></label>
+          <label><p>お名前</p><input name="name" class=name placeholder={{username}}></label>
+          <label><p>タイトル</p><input name="title" class=title placeholder="タイトルなし."></label>
           <input type="submit" value="送信">
         </td></tr>
         <tr><td>