Sha256: 299bb841465505b353b23b010f77e6b5df6d42aaa6960ea5a01ab670122e449f

Contents?: true

Size: 1.45 KB

Versions: 1

Compression:

Stored size: 1.45 KB

Contents

<div class="looking_for">
  <%= form_tag( {:controller    => :looking_for, 
                :action         => :search,
                :object_name    => params[:object_name],
                :method_names   => params[:method_names],
                :fill           => params[:fill],
                :conditions     => params[:conditions],
                :no_case        => params[:no_case],
                :use_upper      => params[:use_upper],
                :include        => params[:include]
                }, 
               {:method=>'get', :remote => true, :id=>'looking_for_form' } ) do %>

    <div id="looking_for-toolbar" class="ui-corner-all">
    </div>
  
    <div id="looking_for-table" class="table">
      <div id="looking_for-header" class="header">        
        <% params[:method_names].each do |method_name|  %>
          <div class="cell"><%= label(params[:object_name].downcase, method_name) %></div>  
        <% end %>
      </div>

      <div id="looking_for-filter" class="filter">
        <% params[:looking_for_filter] ||= {} %>
        <% params[:method_names].each do |method_name|  %>
          <div class="cell"><%= text_field_tag "looking_for_filter[#{method_name}]" , params[:looking_for_filter][method_name]||'', :class => 'looking_for_filter' %></div>
	<% end %>
      </div>

      <div id="looking_for-results" class="body">
      </div>
      
      <div id="looking_for-pagination">      
      </div> 
    </div>
  <% end %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
looking_for-0.2.0 app/views/looking_for/_looking_for.html.erb