Skip to content

Instantly share code, notes, and snippets.

@azuby
Created February 9, 2012 00:48
Show Gist options
  • Save azuby/1776020 to your computer and use it in GitHub Desktop.
Save azuby/1776020 to your computer and use it in GitHub Desktop.
<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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment