saucy/app/views/boards/edit.html.erb

20 lines
391 B
Plaintext

<h1><%= t('boards.edit.title') %></h1>
<p><%= t('boards.edit.warning') %></p>
<%= form_with scope: :users, url: board_path, method: :put do |form| %>
<table class='lined'>
<% @users.each do |user| %>
<tr>
<td>
<%= form.email_field nil, value: user.email %>
</td>
</tr>
<% end %>
</table>
<div>
<%= form.submit %>
</div>
<% end %>