Factor out FontAwesome icons into a set of helpers. This is so that it's easier to keep track of which icons we're using and easier to change icons globally.
9 lines
259 B
Plaintext
9 lines
259 B
Plaintext
<section id="options-box">
|
|
<h2>Options</h2>
|
|
<ul>
|
|
<% if policy(SavedSearch).create? %>
|
|
<li><%= button_tag(bookmark_icon + " Save search", id: "save-search", class: "ui-button ui-widget ui-corner-all sub") %></li>
|
|
<% end %>
|
|
</ul>
|
|
</section>
|