<% del = @conn.params["del"] %> <%= if blank?(del) do %> Show Deleted <% end %> <%= if del != "only" do %> Only Deleted <% end %> <%= if del == "only" do %> Show Non-Deleted <% end %> <%= if present?(del) do %> Hide Deleted <% end %> <%= if present?(del) and del != "deleted" do %> Exclude Merges <% end %>