##// END OF EJS Templates
permissions: allow users to update settings for repository groups they still own, or have admin perms, when they don't change their name....
permissions: allow users to update settings for repository groups they still own, or have admin perms, when they don't change their name. - this before gave no-permission errors as the parent group access was checked - since the group parent permission should be checked at creation, or name change this commit fixes such case

File last commit:

r4314:9d74b996 default
r4421:73f70a03 default
Show More
checkbox_choice.pt
25 lines | 906 B | text/plain | TextLexer
<div tal:define="css_class css_class|field.widget.css_class;
style style|field.widget.style;
oid oid|field.oid;
inline getattr(field.widget, 'inline', False)"
tal:omit-tag="not inline">
${field.start_sequence()}
<div tal:repeat="choice values | field.widget.values"
tal:omit-tag="inline"
class="checkbox">
<div tal:define="(value, title) choice">
<input tal:attributes="checked value in cstruct;
class css_class;
style style"
type="checkbox"
name="checkbox"
value="${value}"
id="${oid}-${repeat.choice.index}"/>
<label for="${oid}-${repeat.choice.index}"
tal:attributes="class inline and 'checkbox-inline'">
${title}
</label>
</div>
</div>
${field.end_sequence()}
</div>