Skip to content

Commit

Permalink
BUGFIX SSF-25 : $Form is not defined in the context, sine {$Form.Name…
Browse files Browse the repository at this point in the history
…} always give 'Form' string, we need just have 'Form' string there instead to use {$Form.Name}
  • Loading branch information
normann committed Mar 8, 2012
1 parent 7673369 commit de69d09
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions admin/templates/Includes/ModelAdmin_Tools.ss
Expand Up @@ -6,7 +6,7 @@
<% if SearchClassSelector = tabs %>
<ul>
<% control ModelForms %>
<li class="$FirstLast"><a id="tab-ModelAdmin_$Title.HTMLATT" href="#{$Form.Name}_$ClassName">$Title</a></li>
<li class="$FirstLast"><a id="tab-ModelAdmin_$Title.HTMLATT" href="#Form_$ClassName">$Title</a></li>
<% end_control %>
</ul>
<% end_if %>
Expand All @@ -16,14 +16,14 @@
Search for:
<select>
<% control ModelForms %>
<option value="{$Form.Name}_$ClassName">$Title</option>
<option value="Form_$ClassName">$Title</option>
<% end_control %>
</select>
</div>
<% end_if %>

<% control ModelForms %>
<div class="tab" id="{$Form.Name}_$ClassName">
<div class="tab" id="Form_$ClassName">
$Content
</div>
<% end_control %>
Expand Down

0 comments on commit de69d09

Please sign in to comment.