lib/pact_broker/ui/views/matrix/show.haml in pact_broker-2.65.0 vs lib/pact_broker/ui/views/matrix/show.haml in pact_broker-2.66.0
- old
+ new
@@ -49,9 +49,17 @@
%input{name: 'q[]tag', type: 'text', id: "pacticipant#{index}_tag", class: 'tag', value: selector.tag}
%input{name: 'q[]latest', value: 'true', hidden: true, class: 'latest-flag'}
+ - if options.latest || options.tag
+ .selector
+ %label{for: 'to'}
+ = options.latest ? 'To' : 'With all'
+ %input{name: 'tag', id: 'to', value: options.tag }
+ %input{name: 'latest', value: options.latest.to_s, hidden: true}
+
+
%div.top-of-group
.input-group
%input{type: 'radio', name: "latestby", class: '', value: '', id: 'all_rows', checked: options.all_rows_checked}
%label{for: 'all_rows'}
Show all results