Small Cleanups + Merchandise Search
[cs356-p2-videostore.git] / app / views / purchase / filter.rhtml
1 <h1>Filter Purchases</h1>
2
3 <% if @type == "customer" or @type == "all" %>
4   <%= start_form_tag :action => 'filter', :type => :customer %>
5     Customer ID: <%= text_field 'id', nil  %>
6     <%= submit_tag 'Ok' %>
7   <%= end_form_tag %>
8 <% end %>
9
10 <% if @type == "date" or @type == "all" %>
11   <%= start_form_tag :action => 'filter', :type => :date %>
12     Date: <%= date_select 'id', nil %>
13     <%= submit_tag 'Ok' %>
14   <%= end_form_tag %>
15 <% end %>
16