Sha256: e105b99977213b294e3e26bd1623c63e5280a5f452275be68b5bed62e7035cab

Contents?: true

Size: 525 Bytes

Versions: 1

Compression:

Stored size: 525 Bytes

Contents

<% if should_render_locale_dropdown? %>
  <%= form_tag harpiya.set_locale_path, method: :get, class: 'px-4 py-3 w-100 locale-select' do %>
    <div class="form-group">
      <label for="switch_to_locale" class="dropdown-header text-center">
        <%= Harpiya.t('i18n.language') %>
      </label>
      <%= select_tag(:switch_to_locale,
        options_for_select(supported_locales_options, I18n.locale),
        class: 'custom-select w-100') %>
      <noscript><%= submit_tag %></noscript>
    </div>
  <% end %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
harpiya_frontend-4.3.0.alpha app/views/harpiya/shared/_locale_dropdown.html.erb