Keine Beschreibung http://j1x-huginn.herokuapp.com

_oauth_dropdown.html.erb 313B

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