<%= content_tag :div, class: 'field', style: local_assigns[:style] do %>  

  <%- I18n.available_locales.each do |locale| %>
    <%- i18n_attr = "#{attr}_#{locale}" -%>
    <%= content_tag :div, class: "i18n #{locale}" do %>
      
      <%= f.text_area i18n_attr, class: local_assigns[:class], disabled: local_assigns[:disabled] %>
      <%= f.label i18n_attr, t(attr, scope: "activerecord.attributes.#{f.object.class.to_s.downcase}") %>      

      <%- f.object.errors.full_messages_for(attr).uniq.each do |msg| -%>
        <%= content_tag :p, msg, role: 'alert' %>
      <% end %>    
    <%- end -%>
  <%- end -%>
  
<%- end -%>