_oauth_dropdown.html.erb 317B

    <% if @agent.try(:oauthable?) %> <div class="form-group type-select"> <%= label_tag :service %> <%= select_tag 'agent[service_id]', options_for_select(@agent.valid_services_for(current_user).collect { |s| ["(#{s.provider}) #{s.name}", s.id]}, @agent.service_id), class: 'form-control' %> </div> <% end %>