Merge pull request #171 from plone/close-input-tag
Close input tags properly in moderation.pt to avoid an error with i18ndude find-untranslated
This commit is contained in:
commit
1a45b0a374
2
news/171.bugfix
Normal file
2
news/171.bugfix
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
Close input tags properly in moderation.pt to avoid an error with i18ndude find-untranslated
|
||||||
|
[vincentfretin]
|
@ -66,14 +66,14 @@
|
|||||||
<th colspan="7">
|
<th colspan="7">
|
||||||
<fieldset tal:condition="view/moderation_multiple_state_enabled">
|
<fieldset tal:condition="view/moderation_multiple_state_enabled">
|
||||||
<input type="radio" id="all" name="review_state" value="all"
|
<input type="radio" id="all" name="review_state" value="all"
|
||||||
tal:attributes="checked python:request.review_state=='all'">
|
tal:attributes="checked python:request.review_state=='all'" />
|
||||||
<label for="all" i18n:translate="">all</label>
|
<label for="all" i18n:translate="">all</label>
|
||||||
<tal:workflow-filter tal:repeat="review_state python:['pending', 'published', 'rejected', 'spam']">
|
<tal:workflow-filter tal:repeat="review_state python:['pending', 'published', 'rejected', 'spam']">
|
||||||
<input type="radio" name="review_state"
|
<input type="radio" name="review_state"
|
||||||
tal:attributes="
|
tal:attributes="
|
||||||
value review_state;
|
value review_state;
|
||||||
id review_state;
|
id review_state;
|
||||||
checked python:request.review_state==review_state">
|
checked python:request.review_state==review_state" />
|
||||||
<label tal:attributes="for review_state"><span tal:content="python:translationhelper.translate_comment_review_state(review_state)">review_state</span></label>
|
<label tal:attributes="for review_state"><span tal:content="python:translationhelper.translate_comment_review_state(review_state)">review_state</span></label>
|
||||||
</tal:workflow-filter>
|
</tal:workflow-filter>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
Loading…
Reference in New Issue
Block a user