mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
18 lines
482 B
Plaintext
18 lines
482 B
Plaintext
<%= form_with(model: user_blocking, local: true) do |form| %>
|
|
<% if user_blocking.errors.any? %>
|
|
<div id="error_explanation">
|
|
<h2><%= pluralize(user_blocking.errors.count, "error") %> prohibited this user_blocking from being saved:</h2>
|
|
|
|
<ul>
|
|
<% user_blocking.errors.full_messages.each do |message| %>
|
|
<li><%= message %></li>
|
|
<% end %>
|
|
</ul>
|
|
</div>
|
|
<% end %>
|
|
|
|
<div class="actions">
|
|
<%= form.submit %>
|
|
</div>
|
|
<% end %>
|