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:
Vincent Fretin 2020-06-29 10:58:04 +02:00 committed by GitHub
commit 1a45b0a374
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

2
news/171.bugfix Normal file
View File

@ -0,0 +1,2 @@
Close input tags properly in moderation.pt to avoid an error with i18ndude find-untranslated
[vincentfretin]

View File

@ -66,14 +66,14 @@
<th colspan="7">
<fieldset tal:condition="view/moderation_multiple_state_enabled">
<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>
<tal:workflow-filter tal:repeat="review_state python:['pending', 'published', 'rejected', 'spam']">
<input type="radio" name="review_state"
tal:attributes="
value 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>
</tal:workflow-filter>
</fieldset>