-
-
Save skiz/1776045 to your computer and use it in GitHub Desktop.
Revisions
-
skiz revised this gist
Feb 9, 2012 . 1 changed file with 13 additions and 11 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,16 +1,18 @@ <%= form_tag "", :method => "get" do %> <div class="toolbar"> <div class="left"> <%= label_tag(:from, "From:") %> <%= text_field_tag :from, params[:from], :class => "datepicker" %> <%= label_tag(:to, "to") %> <%= text_field_tag :to, params[:to], :class => "datepicker" %> </div> <div class="right"> View Mode: <%= submit_tag "User", :name => 'group_by', :value => "user" %> | <%= submit_tag "Job", :name => 'group_by', :value => "job" %> | <%= submit_tag "Date", :name => 'group_by', :value => "date" %> </div> </div> <% end %> -
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ <div class="toolbar"> <div class="left"> <%= form_tag "", method: "get" do %> <%= label_tag(:from, "From:") %> <%= text_field_tag :from, params[:from], class: "datepicker" %> <%= label_tag(:to, "to") %> <%= text_field_tag :to, params[:to], class: "datepicker" %> <%= submit_tag "Find" %> <% end %> </div> <div class="right"> View Mode: <%= link_to "User", :group_by => "user" %> | <%= link_to "Job", :group_by => "job" %> | <%= link_to "Date", :group_by => "date" %> </div> </div>