Show More
@@ -1,20 +1,26 b'' | |||
|
1 | <div class="checkbox"> | |
|
2 | <input tal:define="name name|field.name; | |
|
1 | <span tal:define="name name|field.name; | |
|
3 | 2 |
|
|
4 | 3 |
|
|
5 | 4 |
|
|
6 |
|
|
|
7 | type="checkbox" | |
|
8 | name="${name}" value="${true_val}" | |
|
5 | oid oid|field.oid; | |
|
6 | help_block help_block|field.widget.help_block|''; | |
|
7 | " | |
|
8 | tal:omit-tag=""> | |
|
9 | ||
|
10 | <div class="checkbox"> | |
|
11 | <input type="checkbox" name="${name}" value="${true_val}" | |
|
9 | 12 |
|
|
10 | 13 |
|
|
11 | 14 |
|
|
12 |
|
|
|
13 | ||
|
15 | style style;" | |
|
16 | /> | |
|
17 | <p tal:condition="help_block" class="help-block">${help_block}</p> | |
|
14 | 18 | <label for="${field.oid}"> |
|
15 | 19 | <span tal:condition="hasattr(field, 'schema') and hasattr(field.schema, 'label')" |
|
16 | 20 | tal:replace="field.schema.label" class="checkbox-label" > |
|
17 | 21 | </span> |
|
18 | 22 | |
|
19 | 23 | </label> |
|
20 | </div> No newline at end of file | |
|
24 | </div> | |
|
25 | ||
|
26 | </span> No newline at end of file |
@@ -8,11 +8,14 b'' | |||
|
8 | 8 | help_block help_block|field.widget.help_block|''; |
|
9 | 9 | " |
|
10 | 10 | tal:omit-tag=""> |
|
11 | ||
|
11 | 12 |
|
|
13 | id="${oid}" | |
|
14 | placeholder="${placeholder}" | |
|
15 | ||
|
12 | 16 |
|
|
13 | 17 |
|
|
14 | placeholder="${placeholder}" | |
|
15 | id="${oid}"/> | |
|
18 | /> | |
|
16 | 19 | |
|
17 | 20 |
|
|
18 | 21 |
|
@@ -23,4 +26,5 b'' | |||
|
23 | 26 |
|
|
24 | 27 |
|
|
25 | 28 |
|
|
29 | ||
|
26 | 30 | </span> No newline at end of file |
General Comments 0
You need to be logged in to leave comments.
Login now