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

20 lines
391 B
Plaintext
Raw Normal View History

2022-06-25 22:45:47 +00:00
<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 %>