<%= simple_form_for([:admin, @movie]) do |f| %> <%= f.input :title %> <%= f.input :year_released %> <%= f.input :genre, as: :select, collection:["comedy", "drama", "horror", "classic"] %> <%= f.input :rating %> <%= f.submit %> <% end %>