From 7b127ee489a134436ab457467c2da42e32aa652d Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 7 Feb 2014 07:57:59 +0000 Subject: Show tabs for existing custom field types only and adds a view for choosing the type when adding a new custom field. git-svn-id: http://svn.redmine.org/redmine/trunk@12849 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/common/_tabs.html.erb | 2 -- app/views/custom_fields/_index.html.erb | 2 -- app/views/custom_fields/index.html.erb | 10 +++++++++- app/views/custom_fields/select_type.html.erb | 15 +++++++++++++++ 4 files changed, 24 insertions(+), 5 deletions(-) create mode 100644 app/views/custom_fields/select_type.html.erb (limited to 'app/views') diff --git a/app/views/common/_tabs.html.erb b/app/views/common/_tabs.html.erb index 8cbcda51a..34fd570ea 100644 --- a/app/views/common/_tabs.html.erb +++ b/app/views/common/_tabs.html.erb @@ -1,5 +1,3 @@ -<% selected_tab = params[:tab] ? params[:tab].to_s : tabs.first[:name] %> -