% if agent.try(:oauthable?) %>
<%= label_tag :service %>
<%= select_tag 'agent[service_id]', options_for_select(agent.valid_services_for(current_user).collect { |s| [service_label_text(s), s.id] }, agent.service_id), class: 'form-control' %>
<% end %>