aboutsummaryrefslogtreecommitdiff
path: root/app/views/application/_user_info.html.erb
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2020-10-09 13:37:55 +0200
committerhellekin <hellekin@cepheide.org>2020-10-09 13:37:55 +0200
commit8970b8532c8d40786c3c00f9b77a5e74dfa53a2f (patch)
tree387e581624a985a8ed8c041fdde632189f1ed8f6 /app/views/application/_user_info.html.erb
parent7e35096f603ebef4d795f2807e20af768569847c (diff)
downloadincommon-map-8970b8532c8d40786c3c00f9b77a5e74dfa53a2f.tar.gz
Remove bork agent_selector_form helper
Diffstat (limited to 'app/views/application/_user_info.html.erb')
-rw-r--r--app/views/application/_user_info.html.erb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/views/application/_user_info.html.erb b/app/views/application/_user_info.html.erb
index be3b6c5..048e6fb 100644
--- a/app/views/application/_user_info.html.erb
+++ b/app/views/application/_user_info.html.erb
@@ -3,10 +3,6 @@
<% if current_user.present? %>
<a href="/my/dashboard"><%= image_tag current_user.avatar_url, alt: current_user.username %></a>
<ul>
- <%#= tag.li(link_to(new_agent_switch_url, method: :get, remote: true, title: "Changer d'Agent") do
- "Agent: %s" % current_agent
- end, id: 'current_agent_name') %>
- <%= tag.li agent_selector_form %>
<%= tag.li link_to("Ajouter un point", new_agent_resource_url(agent_id: current_agent)) %>
<%= tag.li link_to("Terminer la session", logout_url) %>
</ul>