Sha256: ff7758bd079cd0c8b8ad3decb6efcc6f3f561074c33b7bc89c5f1f78b0e78eba

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

<%= form_tag(admin_data_advance_search_path(:klass=>klass),   
             :method => 'get', 
             :class => 'form search_form', 
             :id => 'advance_search_form') %>

    <div id='advance_search' class='search_box'>
     <table id='advance_search_table' class='advtable'>
     </table>

      <div class='sortby_umbrella'>
        <div class='group' style='padding-left:20px;'>     
          <div class='sortby_text' style='font-size:16px;'>Sort by</div>
          <select name='sortby' id='sortby'>
            <%= AdminData::Util.build_sort_options(klass,params[:sortby]).html_safe %>
          </select>
          <br />
        </div> 
        <div class='clear'></div>
        <input type="submit" value="Search" class='submit_search' />
      </div> 
   </div>

</form>   

<div style='display:none;' id='admin_data_table_structure_data'>
  <%=@collection_of_columns%>
</div>

<style>
   .sortby_umbrella { 
      margin-top: 6px;
   }
   .submit_search {
      margin-left: 15px;
      margin-right: 20px;
   }
   .sortby_umbrella .group {
      float: left;
   }
   .sortby_text { 
      float: left;
      margin-right: 5px;
   }
   #sortby { 
      width: 200px; 
      float: left;
   }
</style>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
admin_data-1.0.18 app/views/admin_data/search/search/_advance_search_form.html.erb