<%= tag.div class: 'field' do %>
  <div>
    <%= f.label attr, local_assigns[:label], for: nil unless local_assigns[:skip_label] %>
  </div>

  <div>
    <%= f.label attr, class: "input-box" do %>    
      <%= f.text_area attr,
                      rows: local_assigns[:rows] || 3,
                      class: 'material__input',
                      placeholder: local_assigns[:placeholder] %>
    <% end %>

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