Skip to content

Commit

Permalink
Fix missing select class
Browse files Browse the repository at this point in the history
  • Loading branch information
janfaracik committed Dec 19, 2021
1 parent e1716e8 commit bb3a4d2
Showing 1 changed file with 10 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,24 +28,21 @@
<f:repeatable var="location" name="locations" items="${instance.locations}">
<table width="100%">
<f:entry title="${%Name}">
<select class="jenkins-input" name="locations.key">
<j:forEach var="toolDescriptor" items="${descriptor.toolDescriptors}">
<j:forEach var="toolInstallation" items="${toolDescriptor.installations}">
<f:option selected="${descriptor.getKey(toolInstallation)==location.key}" value="${descriptor.getKey(toolInstallation)}">(${toolDescriptor.displayName}) ${toolInstallation.name}</f:option>
</j:forEach>
</j:forEach>
</select>
<div class="jenkins-select">
<select class="jenkins-select__input" name="locations.key">
<j:forEach var="toolDescriptor" items="${descriptor.toolDescriptors}">
<j:forEach var="toolInstallation" items="${toolDescriptor.installations}">
<f:option selected="${descriptor.getKey(toolInstallation)==location.key}" value="${descriptor.getKey(toolInstallation)}">(${toolDescriptor.displayName}) ${toolInstallation.name}</f:option>
</j:forEach>
</j:forEach>
</select>
</div>
</f:entry>
<f:entry title="${%Home}">
<f:textbox name="locations.home" value="${location.home}" />
</f:entry>
<f:entry title="">
<div align="right">
<f:repeatableDeleteButton />
</div>
</f:entry>
<f:repeatableDeleteButton />
</table>
</f:repeatable>
</f:entry>

</j:jelly>

0 comments on commit bb3a4d2

Please sign in to comment.