Skip to content

Commit

Permalink
#18 Remove failing Localeapp flags images from forms
Browse files Browse the repository at this point in the history
  • Loading branch information
Filip Andonovski committed Jul 16, 2018
1 parent 3bc3a6f commit 64e9b36
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions app/views/spree/admin/translations/_form_fields.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@

<div class="pull-right text-muted">
<small><i><%= Spree.t(:'i18n.this_file_language') %></i></small>

<% if locale.to_s.include?('-') %>
<img src="https://www.localeapp.com/assets/flags/regions/<%= locale.to_s.split('-').last %>.png">
<% else %>
<img src="https://www.localeapp.com/assets/flags/languages/<%= locale %>.png">
<% end %>
</div>
<% end %>
</div>
Expand Down

0 comments on commit 64e9b36

Please sign in to comment.