<%= form_with(model: user_following, local: true) do |form| %>
  <% if user_following.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(user_following.errors.count, "error") %> prohibited this user_following from being saved:</h2>

      <ul>
        <% user_following.errors.full_messages.each do |message| %>
          <li><%= message %></li>
        <% end %>
      </ul>
    </div>
  <% end %>

  <div class="actions">
    <%= form.submit %>
  </div>
<% end %>
