maj import
[Plinn.git] / skins / custom_content / sort_edit.pt
1 <table class="TwoColumnForm" i18n:domain="plinn"
2 tal:define="bgcolor here/base_properties/contentBackgroundColor"
3 tal:attributes="style string:background-color:$bgcolor">
4 <tr>
5 <td>
6 <input id="" type="checkbox" name="criterion_ids:list" value=""
7 tal:attributes="value here/getId; id string:cb_${here/getId}"/>
8 <input type="hidden" name="criteria.id:records" value="" tal:attributes="value here/getId"/>
9 </td>
10 <td>
11 <fieldset>
12 <legend tal:content="string:catalog_index_${here/Field}" i18n:translate="">Field name</legend>
13 <input type="hidden" name="criteria.reversed:int:default:records" value="0" />
14 <label>
15 <input type="radio" name="criteria.reversed:int:records" value="0" tal:attributes="checked not:here/reversed" />
16 <span i18n:translate="" tal:omit-tag="">Regular sort</span>
17 </label>
18 <label>
19 <input type="radio" name="criteria.reversed:int:records" value="1" tal:attributes="checked here/reversed"/>
20 <span i18n:translate="" tal:omit-tag="">Reversed sort</span>
21 </label>
22 <dl class="FieldHelp">
23 <dd tal:content="here/Description" i18n:translate="">Criterion description</dd>
24 </dl>
25 </fieldset>
26 </td>
27 </tr>
28 </table>