Sha256: a1c720d7a6c80064f6403e5a0316860c197c7f05d47a7fcea28e33a83e95fe81

Contents?: true

Size: 879 Bytes

Versions: 37

Compression:

Stored size: 879 Bytes

Contents

<div class="row">
  <%= decidim_form_for(@account, url: account_path, method: :put, class: "user-form") do |f| %>
    <div class="columns large-4">
      <%= f.upload :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

37 entries across 37 versions & 2 rubygems

Version Path
decidim-core-0.6.3 app/views/decidim/account/show.html.erb
decidim-0.6.3 decidim-core/app/views/decidim/account/show.html.erb
decidim-core-0.6.2 app/views/decidim/account/show.html.erb
decidim-0.6.2 decidim-core/app/views/decidim/account/show.html.erb
decidim-core-0.6.1 app/views/decidim/account/show.html.erb
decidim-0.6.1 decidim-core/app/views/decidim/account/show.html.erb
decidim-core-0.6.0 app/views/decidim/account/show.html.erb
decidim-0.6.0 decidim-core/app/views/decidim/account/show.html.erb
decidim-core-0.5.1 app/views/decidim/account/show.html.erb
decidim-0.5.1 decidim-core/app/views/decidim/account/show.html.erb
decidim-core-0.5.0 app/views/decidim/account/show.html.erb
decidim-0.5.0 decidim-core/app/views/decidim/account/show.html.erb
decidim-core-0.4.4 app/views/decidim/account/show.html.erb
decidim-core-0.4.2 app/views/decidim/account/show.html.erb
decidim-core-0.4.1 app/views/decidim/account/show.html.erb
decidim-core-0.4.3 app/views/decidim/account/show.html.erb
decidim-core-0.4.0 app/views/decidim/account/show.html.erb