Commit 036517c
committed
Use field.id_for_label instead of field.auto_id
This fixes a bug when specifying a custom id for a field and rendering
it with the `|bootstrap` filter.
When using `field.auto_id` in the label's `for` attribute, this is
always set to the default value instead of the custom `id`.1 parent 629d82d commit 036517c
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
0 commit comments