From 05db3adf7a68cc4a307726913bf5591a6f154411 Mon Sep 17 00:00:00 2001 From: Larissa Reis Date: Fri, 9 Jan 2015 12:27:04 -0300 Subject: [PATCH] [custom_form] Fixes fields not showing up on rails 3 --- plugins/custom_forms/lib/custom_forms_plugin/text_field.rb | 2 -- plugins/custom_forms/views/custom_forms_plugin_myprofile/_form.html.erb | 2 +- plugins/custom_forms/views/custom_forms_plugin_myprofile/custom_forms_plugin/_select_field.html.erb | 2 +- plugins/custom_forms/views/custom_forms_plugin_profile/show.html.erb | 2 +- plugins/custom_forms/views/tasks/custom_forms_plugin/_membership_survey_accept_details.html.erb | 4 ++-- 5 files changed, 5 insertions(+), 7 deletions(-) diff --git a/plugins/custom_forms/lib/custom_forms_plugin/text_field.rb b/plugins/custom_forms/lib/custom_forms_plugin/text_field.rb index e923030..9524a81 100644 --- a/plugins/custom_forms/lib/custom_forms_plugin/text_field.rb +++ b/plugins/custom_forms/lib/custom_forms_plugin/text_field.rb @@ -1,5 +1,3 @@ class CustomFormsPlugin::TextField < CustomFormsPlugin::Field set_table_name :custom_forms_plugin_fields - - attr_accessible :name end diff --git a/plugins/custom_forms/views/custom_forms_plugin_myprofile/_form.html.erb b/plugins/custom_forms/views/custom_forms_plugin_myprofile/_form.html.erb index 7bb6187..edd1ddd 100644 --- a/plugins/custom_forms/views/custom_forms_plugin_myprofile/_form.html.erb +++ b/plugins/custom_forms/views/custom_forms_plugin_myprofile/_form.html.erb @@ -23,7 +23,7 @@

<%= _('Fields') %>