回答編集履歴
2
誤字の修正
test
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
|
19
19
|
```slim
|
20
20
|
|
21
|
-
= form.label :n
|
21
|
+
= form.label :company do
|
22
22
|
|
23
23
|
span
|
24
24
|
|
1
改善
test
CHANGED
@@ -14,7 +14,31 @@
|
|
14
14
|
|
15
15
|
で、レイアウトはCSS
|
16
16
|
|
17
|
+
結局
|
17
18
|
|
19
|
+
```slim
|
20
|
+
|
21
|
+
= form.label :name do
|
22
|
+
|
23
|
+
span
|
24
|
+
|
25
|
+
| 記載企業
|
26
|
+
|
27
|
+
font.required (必須)
|
28
|
+
|
29
|
+
```
|
30
|
+
|
31
|
+
```scss
|
32
|
+
|
33
|
+
.required{
|
34
|
+
|
35
|
+
font-size:.5rem;
|
36
|
+
|
37
|
+
color:red;
|
38
|
+
|
39
|
+
}
|
40
|
+
|
41
|
+
```
|
18
42
|
|
19
43
|
[label リファレンス](http://railsdoc.com/references/label)
|
20
44
|
|