app/views/dorsale/users/_form.html.slim in dorsale-2.2.10 vs app/views/dorsale/users/_form.html.slim in dorsale-2.2.11

- old
+ new

@@ -1,6 +1,13 @@ .well - = horizontal_form_for @user do |u| - = u.input :email - = u.input :is_active, as: :boolean, wrapper: :horizontal_radio_and_checkboxes + = horizontal_form_for @user, multipart: true do |f| + = f.input :email + = f.input :is_active, as: :boolean, wrapper: :horizontal_radio_and_checkboxes + = f.input :avatar, wrapper: :horizontal_form - = form_buttons obj: @user \ No newline at end of file + .form-group + label.col-md-3.control-label + = @user.t(:current_avatar) + .col-md-9 + = avatar_img(@user) + + = form_buttons obj: @user