Move custom fields from settings to profile menu

pull/3451/head
Alexander Bach 9 years ago committed by Peter Lehwess
parent 29d52b8ca3
commit b3ee21ad29
  1. 5
      app/views/my/account.html.erb
  2. 5
      app/views/my/settings.erb

@ -57,6 +57,11 @@ See doc/COPYRIGHT.rdoc for more details.
<% end %>
<%= call_hook(:view_my_account, user: @user, form: f) %>
<%= render partial: 'customizable/field',
collection: @user.custom_field_values.select(&:editable?),
as: :value,
locals: { form: f } %>
</section>
</div>
</div>

@ -42,11 +42,6 @@ See doc/COPYRIGHT.rdoc for more details.
<%= render :partial => 'users/preferences' %>
</section>
<%= render partial: 'customizable/field',
collection: @user.custom_field_values.select(&:editable?),
as: :value,
locals: { form: f } %>
<%= call_hook(:view_my_settings, :user => @user, :form => f) %>
</section>
<% end %>

Loading…
Cancel
Save