From 97c9ff739f2363d03fea2268ef1a8cbcd79a3272 Mon Sep 17 00:00:00 2001 From: Daniela Soares Feitosa Date: Tue, 10 Jan 2012 16:05:44 -0200 Subject: [PATCH] Replaced "Other Options" by "Translations" --- app/views/profile_editor/edit.rhtml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app/views/profile_editor/edit.rhtml b/app/views/profile_editor/edit.rhtml index 4e96c0a..a09ce07 100644 --- a/app/views/profile_editor/edit.rhtml +++ b/app/views/profile_editor/edit.rhtml @@ -73,13 +73,19 @@ <% end %> -

<%= _('Other options') %>

+ <%= select_categories(:profile_data, _('Select the categories of your interest'), 2) %> + +

<%= _('Translations') %>

<%= labelled_check_box( _('Automatic redirect the visitor to the translated article of him language'), 'profile_data[redirect_l10n]', true, @profile.redirect_l10n )%> - <%= select_categories(:profile_data, _('Select the categories of your interest'), 2) %> + <%= + @plugins.map(:profile_editor_extras).each do |content| + content.respond_to?(:call) ? content.call : content + end.join("\n") + %> <% button_bar do %> <%= submit_button('save', _('Save'), :cancel => {:action => 'index'}) %> -- libgit2 0.21.2