Skip to content

Commit

Permalink
管理者画面からユーザー一覧を選択するときに昔のユーザーを下に出す
Browse files Browse the repository at this point in the history
  • Loading branch information
genya0407 committed Jun 19, 2018
1 parent f3bb820 commit bcc6883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/admin/drives/edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
html: { class: 'Form' } do |f| %>
<div class='Form--InputSet'>
<div class="Form--InputSet--Field s12">
<%= f.collection_select :user_id, User.all, :id, :name %>
<%= f.collection_select :user_id, User.all.order(:activation_state), :id, :name %>
</div>
</div>
<div class='Form--InputSet'>
Expand Down

0 comments on commit bcc6883

Please sign in to comment.