Commit 1130a1e3 authored by 神楽坂玲奈's avatar 神楽坂玲奈

版主

parent 641c79cf
...@@ -12,12 +12,12 @@ ...@@ -12,12 +12,12 @@
<% end %> <% end %>
<div class="field"> <div class="field">
<%= f.label :user %><br /> <%= f.label :user_id %><br />
<%= f.text_field :user %> <%= f.text_field :user_id %>
</div> </div>
<div class="field"> <div class="field">
<%= f.label :board %><br /> <%= f.label :board_id %><br />
<%= f.text_field :board %> <%= f.select :board_id, Board.all.collect{|board|[board.name, board.id]} %>
</div> </div>
<div class="actions"> <div class="actions">
<%= f.submit %> <%= f.submit %>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment