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

Version Path
decidim-core-0.3.2 app/views/decidim/account/show.html.erb
decidim-core-0.3.1 app/views/decidim/account/show.html.erb
decidim-core-0.3.0 app/views/decidim/account/show.html.erb
decidim-core-0.2.0 app/views/decidim/account/show.html.erb
decidim-core-0.1.0 app/views/decidim/account/show.html.erb
decidim-core-0.0.8.1 app/views/decidim/account/show.html.erb
decidim-core-0.0.7 app/views/decidim/account/show.html.erb
decidim-core-0.0.6 app/views/decidim/account/show.html.erb
decidim-core-0.0.5 app/views/decidim/account/show.html.erb