Sha256: 790c40ee184762553b383e5e2d56c0d612b8948bb13fb5cd2d0ff655bc6db54a

Contents?: true

Size: 1.18 KB

Versions: 1

Compression:

Stored size: 1.18 KB

Contents

<%= irelia_page_header(title: t(".title"), subline: t(".description")) %>

<%= irelia_container size: :md do %>
  <% if @user.unconfirmed_email? %>
    <%= irelia_div padding_bottom: :lg, html_options: { id: "pending_email_notification" } do %>
      <%= irelia_notification(variant: :warning, title: t(".notifications.pending_email_change.title")) do %>
        <%== t(".notifications.pending_email_change.text", email: h(@user.unconfirmed_email)) %>
        <%= button_to cancel_pending_email_user_settings_profile_path, method: :delete do %>
          <%== t(".notifications.pending_email_change.cancel") %>
        <% end %>
      <% end %>
    <% end %>
  <% end %>

  <%= irelia_form(model: @user, url: user_settings_profile_path) do |form| %>
    <!-- Form fields for the account object -->
    <%= form.fields_for :personal_account, @user.personal_account do |personal_account_form| %>
      <%= render "kiqr/accounts/form_fields", form: personal_account_form %>
    <% end %>

    <!-- Form fields for the user object -->
    <%= render "kiqr/users/shared/user_fields", form: form %>

    <%= irelia_div padding_top: :sm do %>
      <%= form.submit t(".submit") %>
    <% end %>
  <% end %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kiqr-0.1.0.alpha1 lib/kiqr/themes/irelia/views/kiqr/users/settings/profiles/show.html.erb