Skip to content

Commit

Permalink
fix showing 'add link' on lemma page
Browse files Browse the repository at this point in the history
  • Loading branch information
grandsbor committed Jul 16, 2015
1 parent e4be50c commit 02509ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/dict/lemma_edit.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
</form>
{/strip}
<h4>Связи</h4>
{if $user_permission_dict && $editor.lemma_id > 0 && !$editor.deleted}
{if $user_permission_dict && $editor.lemma.id > 0 && !$editor.deleted}
<p><a href="#" class="pseudo" onclick="$('#add_link').show(); return false">Добавить связь</a></p>
<form id="add_link" method='post' class='hidden-block' action='?act=add_link'>
<input type='hidden' name='from_id' value='{$editor.lemma.id}'/>
Expand Down

0 comments on commit 02509ca

Please sign in to comment.