<%= form_for :user, url: update_user_path, :html => { id: 'mu-user-form' }, method: :put do |f| %>

<%= t(:edit_profile) %>

<%= link_to t(:cancel), :back, class: 'btn btn-default' if @user.profile_completed? %> <%= f.submit t(:save), disabled: true, class: 'btn btn-success', id: 'mu-edit-profile-btn' %>
<%= profile_picture_for(@user, id: 'mu-user-avatar', class: 'mu-user-avatar') %>
<%= render partial: 'profile_fields', locals: {form: f} %>
<% end %> <%= content_for :no_container do %> <%= render partial: 'layouts/modals/avatar_picker' %> <% end %>