replaces sr-only class to show-for-sr
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
class: "remove-investment-project",
|
||||
method: :delete,
|
||||
remote: true do %>
|
||||
<span class="sr-only"><%= t('budgets.ballots.show.remove') %></span>
|
||||
<span class="show-for-sr"><%= t('budgets.ballots.show.remove') %></span>
|
||||
<span class="icon-x"></span>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
@@ -40,13 +40,13 @@
|
||||
<td>
|
||||
<% if investment.winner? %>
|
||||
<span class="icon-check">
|
||||
<span class="sr-only">
|
||||
<span class="show-for-sr">
|
||||
<%= t("budgets.results.accepted") %>
|
||||
</span>
|
||||
</span>
|
||||
<% else %>
|
||||
<span class="icon-x delete">
|
||||
<span class="sr-only">
|
||||
<span class="show-for-sr">
|
||||
<%= t("budgets.results.discarded") %>
|
||||
</span>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user