Skip to content

Commit

Permalink
add table to add users in requests #99
Browse files Browse the repository at this point in the history
  • Loading branch information
DESKTOP-TD4EK52\Jonas authored and DESKTOP-TD4EK52\Jonas committed Dec 4, 2018
1 parent bad43a6 commit 12cc6a6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/views/requests/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@
<%= form.number_field :storage_mb, min: 0 %>
</div>

<%= form.select 'user+ids',
options_from_collection_for_select(User.all,
:id,
:name,
@request.user_ids),
{},
multiple: true,
size: 10 %>

<div class="field">
<%= form.label :operating_system, "Operating System" %>
<%= form.select :operating_system, ['none', 'Windows', 'Ubuntu', 'Suse', 'other(write in Comment)'] %>
Expand Down

0 comments on commit 12cc6a6

Please sign in to comment.