Skip to content

Commit 00203a2

Browse files
author
Alexander Smishlajev
committed
fix: don't make edit field for 'actor' property
1 parent 0232b6a commit 00203a2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

templates/classic/html/_generic.item.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
<table class="form">
2323

2424
<tr tal:repeat="prop python:db[context._classname].properties()">
25-
<tal:block tal:condition="python:prop._name not in ('id', 'creator',
26-
'creation', 'activity')">
25+
<tal:block tal:condition="python:prop._name not in ('id',
26+
'creator', 'creation', 'actor', 'activity')">
2727
<th tal:content="prop/_name"></th>
2828
<td tal:content="structure python:context[prop._name].field()"></td>
2929
</tal:block>

templates/minimal/html/_generic.item.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
<table class="form">
2323

2424
<tr tal:repeat="prop python:db[context._classname].properties()">
25-
<tal:block tal:condition="python:prop._name not in ('id', 'creator',
26-
'creation', 'activity')">
25+
<tal:block tal:condition="python:prop._name not in ('id',
26+
'creator', 'creation', 'actor', 'activity')">
2727
<th tal:content="prop/_name"></th>
2828
<td tal:content="structure python:context[prop._name].field()"></td>
2929
</tal:block>

0 commit comments

Comments
 (0)