回答編集履歴

1

br

2016/03/06 06:59

投稿

chitoku
chitoku

スコア1610

test CHANGED
@@ -1,4 +1,6 @@
1
1
  縦に並べるなら `form-group` で区切ると思います。
2
+
3
+ あと `<br />` の記述も正しくないです。
2
4
 
3
5
  ```lang-html
4
6
 
@@ -20,7 +22,7 @@
20
22
 
21
23
  <div class="field">
22
24
 
23
- <%= f.label :password %></br>
25
+ <%= f.label :password %><br />
24
26
 
25
27
  <%= f.password_field :password, autocomplete: "off" %>
26
28
 
@@ -32,7 +34,7 @@
32
34
 
33
35
  <div class="field">
34
36
 
35
- <%= f.label :password_confirmation %>
37
+ <%= f.label :password_confirmation %><br />
36
38
 
37
39
  <%= f.password_field :password_confirmation, autocomplete: "off" %>
38
40