Sha256: 5329ad68802f11ae1b210f34584a8563cd7486ddc5fdbb7da0fa7284ab74a417
Contents?: true
Size: 1003 Bytes
Versions: 9
Compression:
Stored size: 1003 Bytes
Contents
<div class="row"> <%= decidim_form_for(@account, url: account_path, method: :put, class: "user-form") do |f| %> <div class="columns large-4"> <%= image_tag current_user.avatar.big.url, width: "100%" %> <%= f.file_field :avatar, label: false %> <%= f.check_box :remove_avatar %> </div> <div class="columns large-8 end"> <%= f.text_field :name %> <%= f.email_field :email %> <% if @account.errors[:password].any? || @account.errors[:password_confirmation].any? %> <%= render partial: "password_fields", locals: { form: f } %> <% else %> <p> <a data-toggle="passwordChange" class="change-password"><%= t ".change_password" %></a> </p> <div id="passwordChange" class="toggle-show" data-toggler=".is-expanded"> <%= render partial: "password_fields", locals: { form: f } %> </div> <% end %> <%= f.submit t(".update_account"), disable_with: true %> <% end %> </div> </div>
Version data entries
9 entries across 9 versions & 1 rubygems