<div id="tags-merger" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <%= form_tag '', remote: true do %>
    <fieldset>
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
        <h3 id="myModalLabel"><%= t('tag.merger') %></h3>
      </div>
      <div class="modal-body tags">
        <div class="clearfix">
          <% @site_in_use_locales.each do |locale| %>
            <%= label_tag :locale, I18nVariable.from_locale(locale) %>
            <%= text_field_tag "name[#{locale}]", nil, class: 'new-tags-name', placeholder: t('tag.new_name') %>
          <% end %>
        </div>
        <span class="help-block"><%= t('tag.merge_help') %></span>
        <hr>
        <ul class="tags-groups checkbox-card">
        </ul>
      </div>
      <div class="modal-footer">
        <button class="btn" data-dismiss="modal" aria-hidden="true"><%= t(:cancel) %></button>
        <button class="btn btn-primary"><%= t(:submit) %></button>
      </div>
    </fieldset>
  <% end %>
</div>