lib/pact_broker/ui/views/matrix/show.haml in pact_broker-2.52.2 vs lib/pact_broker/ui/views/matrix/show.haml in pact_broker-2.53.0
- old
+ new
@@ -12,21 +12,24 @@
.navbar-right
%a{href: '/'}
Home
%h1.page-header
= title
+ - if defined?(badge_url) && badge_url
+ %img{src: badge_url, class: 'pact_badge' }
- if defined?(errors) && errors.any?
- errors.each do | error |
%div.alert.alert-danger
= escape_html(error)
+
%form{action: '/matrix', onsubmit:'return onSubmit()'}
- selectors.each_with_index do | selector, index |
.selector
%label{for: "pacticipant#{index}"}
Pacticipant name
- %input{name: 'q[]pacticipant', id: "pacticipant1#{index}", value: escape_html(selector.pacticipant_name)}
+ %input{name: 'q[]pacticipant', id: "pacticipant1#{index}", class: 'pacticipant_name', value: escape_html(selector.pacticipant_name)}
.input-group
.input-group
%select{ name: "ignorethis#{index}", class: 'version-selectorizor' }