Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
Merge pull request tumblr#88 from cburroughs/dropdown-display
Browse files Browse the repository at this point in the history
If we have a dropdown in the UI, do an exact search
  • Loading branch information
bmatheny committed Apr 12, 2013
2 parents 445a2b4 + 06aeb90 commit d918843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/resources/optionDisplay.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
@import _root_.models.lshw.Disk

@formatValue(value: String, display: String) = {
<option value="@value">@display</option>
<option value="^@value$">@display</option>
}
<select name="@assetMeta.name" id="@assetMeta.name" tabindex="@(index + 2)" @if(index == 0) {accesskey="r"}>
<option value="" selected="selected"></option>
Expand Down

0 comments on commit d918843

Please sign in to comment.