Skip to content

Commit

Permalink
Search button placement fix for template workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
theory committed Mar 10, 2010
1 parent c059ff8 commit e8f5253
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions comp/widgets/search/template.html
Expand Up @@ -183,14 +183,14 @@
style => 'inline',
&>

<a href="#" class="small" style="margin-left: 10px;" onclick="$('search_simple').value = $('search_name').value; $('search-button').name = 'simple_search'; $('search-button').onclick = $('search-type').value = 'simple'; $('basic-search', 'advanced-search', 'clear-button').invoke('toggle'); $('button-wrap').setStyle({margin: '5px 0 0 -140px'}); return false">&laquo; Show fewer options</a>
<a href="#" class="small" style="margin-left: 10px;" onclick="$('search_simple').value = $('search_name').value; $('search-button').name = 'simple_search'; $('search-button').onclick = $('search-type').value = 'simple'; $('basic-search', 'advanced-search', 'clear-button').invoke('toggle'); $('button-wrap').setStyle({margin: '5px 0 0'}); return false">&laquo; Show fewer options</a>

</div>
</div>
</div>

<div id="button-wrap" class="row"<% ($advanced_search) ? '' : ' style="margin: 5px 0 0 -140px;"' %>>
<div class="input" id="search-buttons">
<div id="button-wrap" class="row"<% ($advanced_search) ? '' : ' style="margin: 5px 0 0;"' %>>
<div id="search-buttons">
<& /widgets/profile/button.mc,
id => 'search-button',
disp => $lang->maketext('Search'),
Expand Down

0 comments on commit e8f5253

Please sign in to comment.