Commit 97c9ff739f2363d03fea2268ef1a8cbcd79a3272
1 parent
e8325928
Exists in
master
and in
29 other branches
Replaced "Other Options" by "Translations"
(ActionItem2121)
Showing
1 changed file
with
8 additions
and
2 deletions
Show diff stats
app/views/profile_editor/edit.rhtml
... | ... | @@ -73,13 +73,19 @@ |
73 | 73 | </table> |
74 | 74 | <% end %> |
75 | 75 | |
76 | - <h2><%= _('Other options') %></h2> | |
76 | + <%= select_categories(:profile_data, _('Select the categories of your interest'), 2) %> | |
77 | + | |
78 | + <h2><%= _('Translations') %></h2> | |
77 | 79 | <%= labelled_check_box( |
78 | 80 | _('Automatic redirect the visitor to the translated article of him language'), |
79 | 81 | 'profile_data[redirect_l10n]', true, @profile.redirect_l10n |
80 | 82 | )%> |
81 | 83 | |
82 | - <%= select_categories(:profile_data, _('Select the categories of your interest'), 2) %> | |
84 | + <%= | |
85 | + @plugins.map(:profile_editor_extras).each do |content| | |
86 | + content.respond_to?(:call) ? content.call : content | |
87 | + end.join("\n") | |
88 | + %> | |
83 | 89 | |
84 | 90 | <% button_bar do %> |
85 | 91 | <%= submit_button('save', _('Save'), :cancel => {:action => 'index'}) %> | ... | ... |