From 7785eee4b0120c742b3c7457a641857b34d2c699 Mon Sep 17 00:00:00 2001 From: Toks Date: Fri, 12 Jul 2013 19:27:24 -0400 Subject: [PATCH] Exclude deletion tab from special click event Otherwise line 82 causes a syntax error and line 83 breaks the link. --- app/views/users/edit.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/users/edit.html.erb b/app/views/users/edit.html.erb index 7c0aba2fb..0a4ef2d03 100644 --- a/app/views/users/edit.html.erb +++ b/app/views/users/edit.html.erb @@ -3,7 +3,7 @@

Settings

<%= simple_form_for @user do |f| %> -

<%= link_to "Basic settings", "#basic-settings", :class => 'active' %> | <%= link_to "Advanced settings", "#advanced-settings" %> | <%= link_to "Change password", "#change-password" %> | <%= link_to "Delete account", maintenance_user_deletion_path %>

+

<%= link_to "Basic settings", "#basic-settings", :class => 'active' %> | <%= link_to "Advanced settings", "#advanced-settings" %> | <%= link_to "Change password", "#change-password" %> | <%= link_to "Delete account", maintenance_user_deletion_path, :id => "delete-account" %>

@@ -74,7 +74,7 @@