2013-02-12 17:22:40 +00:00
|
|
|
.clearfix
|
|
|
|
.pull-left
|
2013-04-14 12:08:16 +00:00
|
|
|
= render partial: 'shared/ref_switcher', locals: {destination: 'graph'}
|
2013-04-14 01:52:43 +00:00
|
|
|
.pull-left
|
2013-06-11 06:54:01 +00:00
|
|
|
= form_tag project_network_path(@project, @id), method: :get do |f|
|
2013-12-30 23:27:02 +00:00
|
|
|
.form-group
|
2013-08-21 10:20:29 +00:00
|
|
|
= label_tag :filter_ref, "Begin with the selected commit", class: 'control-label light'
|
2013-12-30 23:27:02 +00:00
|
|
|
.col-sm-10
|
2013-04-14 01:52:43 +00:00
|
|
|
= check_box_tag :filter_ref, 1, @options[:filter_ref]
|
|
|
|
- @options.each do |key, value|
|
|
|
|
= hidden_field_tag(key, value, id: nil) unless key == "filter_ref"
|
2013-02-05 03:46:31 +00:00
|
|
|
|
2013-02-12 17:22:40 +00:00
|
|
|
.search.pull-right
|
2013-06-11 06:54:01 +00:00
|
|
|
= form_tag project_network_path(@project, @id), method: :get do |f|
|
2013-12-30 23:27:02 +00:00
|
|
|
.form-group
|
2013-02-12 17:22:40 +00:00
|
|
|
= label_tag :search , "Looking for commit:", class: 'control-label light'
|
2013-12-30 23:27:02 +00:00
|
|
|
.col-sm-10
|
2013-08-21 10:20:29 +00:00
|
|
|
= text_field_tag :extended_sha1, @options[:extended_sha1], placeholder: "Input an extended SHA1 syntax", class: "search-input input-xlarge"
|
2013-02-12 17:22:40 +00:00
|
|
|
= button_tag type: 'submit', class: 'btn vtop' do
|
|
|
|
%i.icon-search
|
2013-04-14 12:09:47 +00:00
|
|
|
- @options.each do |key, value|
|
2013-08-21 10:20:29 +00:00
|
|
|
= hidden_field_tag(key, value, id: nil) unless key == "extended_sha1"
|
2013-02-12 17:22:40 +00:00
|
|
|
|