Sha256: 14f5b5e340eb903687cae06e139f607a9fbad156f11e1ba205646db1035345bc

Contents?: true

Size: 1.01 KB

Versions: 4

Compression:

Stored size: 1.01 KB

Contents

<%= form_for :user, url: user_path, :html => { id: 'mu-user-form' }, method: :put do |f| %>
  <div class="mu-user-header">
    <h1><%= t(:edit_profile) %></h1>
    <div class="mu-profile-actions hidden-xs">
      <%= cancel_edit_profile_button %>
      <%= save_edit_profile_button f %>
    </div>
  </div>
  <div class="row mu-tab-body">
    <div class="col-md-4 text-center">
      <%= profile_picture_for(@user, id: 'mu-user-avatar', class: 'mu-user-avatar') %>
      <i class="fa fa-pencil fa-2x pointer mu-edit-avatar" id="mu-edit-avatar-icon" tabindex="0"></i>
    </div>
    <div class="col-md-8">
      <%= render partial: 'profile_fields', locals: {form: f} %>
      <%= render partial: 'layouts/terms_acceptance_disclaimer', locals: {user: @user} %>
    </div>
  </div>
  <div class="mu-profile-actions mobile visible-xs">
    <%= cancel_edit_profile_button %>
    <%= save_edit_profile_button f %>
  </div>
<% end %>

<%= content_for :no_container do %>
  <%= render partial: 'layouts/modals/avatar_picker' %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mumuki-laboratory-8.1.3 app/views/users/_edit_user_form.html.erb
mumuki-laboratory-8.1.2 app/views/users/_edit_user_form.html.erb
mumuki-laboratory-8.1.1 app/views/users/_edit_user_form.html.erb
mumuki-laboratory-8.1.0 app/views/users/_edit_user_form.html.erb