質問編集履歴
2
htmlのnameが間違えているので修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -134,13 +134,13 @@
|
|
134
134
|
|
135
135
|
|
136
136
|
|
137
|
-
@(inputText(field = formValue("id"), 'class -> "form-control", 'name -> "
|
137
|
+
@(inputText(field = formValue("id"), 'class -> "form-control", 'name -> "id", '_label -> "ID"))
|
138
138
|
|
139
|
-
@(inputText(field = formValue("password"), 'class -> "form-control", 'name -> "r
|
139
|
+
@(inputText(field = formValue("password"), 'class -> "form-control", 'name -> "password", '_label -> "パスワード"))
|
140
140
|
|
141
|
-
@(inputText(field = formValue("userBase.address"), 'class -> "form-control", 'name -> "r
|
141
|
+
@(inputText(field = formValue("userBase.address"), 'class -> "form-control", 'name -> "userBase.address", '_label -> "住所"))
|
142
142
|
|
143
|
-
@(inputText(field = formValue("userBase.age"), 'class -> "form-control", 'name -> "r
|
143
|
+
@(inputText(field = formValue("userBase.age"), 'class -> "form-control", 'name -> "userBase.age", '_label -> "年齢"))
|
144
144
|
|
145
145
|
|
146
146
|
|
1
クラス名が間違えていたので修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -102,7 +102,7 @@
|
|
102
102
|
|
103
103
|
public static Result confirm() {
|
104
104
|
|
105
|
-
Form<
|
105
|
+
Form<User> form = Form.form(User.class).bindFromRequest();
|
106
106
|
|
107
107
|
|
108
108
|
|