Disabled HTML escaping of option text.
This commit is contained in:
parent
4303b4112d
commit
1612da3f03
1 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
<div class="dropdown-toggle" data-toggle="dropdown">
|
||||
<input
|
||||
class="form-control js-input<%= " #{ @class }" if @class %>"
|
||||
<input
|
||||
class="form-control js-input<%= " #{ @class }" if @class %>"
|
||||
placeholder="<%= @placeholder %>"
|
||||
value="<%= @valueName %>"
|
||||
>
|
||||
|
@ -16,6 +16,6 @@
|
|||
</div>
|
||||
<ul class="dropdown-menu dropdown-menu-left" role="menu">
|
||||
<% for row in @options: %>
|
||||
<li role="presentation" class="js-value" data-value="<%= row.value %>"><%= row.name %>
|
||||
<li role="presentation" class="js-value" data-value="<%= row.value %>"><%- row.name %>
|
||||
<% end %>
|
||||
</ul>
|
||||
</ul>
|
Loading…
Reference in a new issue