summaryrefslogtreecommitdiff
path: root/app/views/graph/_head.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/graph/_head.html.haml')
-rw-r--r--app/views/graph/_head.html.haml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/graph/_head.html.haml b/app/views/graph/_head.html.haml
index 04a66892584..e6be40aec9c 100644
--- a/app/views/graph/_head.html.haml
+++ b/app/views/graph/_head.html.haml
@@ -10,7 +10,9 @@
.control-group
= label_tag :search , "Looking for commit:", class: 'control-label light'
.controls
- = text_field_tag :q, @q, placeholder: "Input SHA", class: "search-input xlarge"
+ = text_field_tag :q, @options[:q], placeholder: "Input SHA", class: "search-input xlarge"
= button_tag type: 'submit', class: 'btn vtop' do
%i.icon-search
+ - @options.each do |key, value|
+ = hidden_field_tag(key, value, id: nil) unless key == "q"