Disabled HTML escaping of option text.

This commit is contained in:
Thorsten Eckel 2015-06-19 17:33:10 +02:00
parent 4303b4112d
commit 1612da3f03

View file

@ -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>