Skip to content

Commit

Permalink
Move locale selection div inside if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
jhawthorn committed Mar 28, 2018
1 parent 36b5759 commit 63721f9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions backend/app/views/spree/admin/shared/_locale_selection.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="admin-locale-selection">
<% available_locales = Spree.i18n_available_locales %>
<% if available_locales.size > 1 %>
<% available_locales = Spree.i18n_available_locales %>
<% if available_locales.size > 1 %>
<div class="admin-locale-selection">
<select class="js-locale-selection custom-select fullwidth">
<%=
options_for_select(
Expand All @@ -11,5 +11,5 @@
)
%>
</select>
<% end %>
</div>
</div>
<% end %>

0 comments on commit 63721f9

Please sign in to comment.