forked from fixin.me/fixin.me
19 lines
676 B
Plaintext
19 lines
676 B
Plaintext
<% content_for :navigation, flush: true do %>
|
|
<%= link_to svg_tag('pictograms/arrow-left-bold-outline', t(:back)), users_path,
|
|
class: 'tab' %>
|
|
<% end %>
|
|
|
|
<%= labeled_form_for @user, html: {class: 'main-area'} do |f| %>
|
|
<%= f.email_field :email, readonly: true %>
|
|
<% if @user.pending_reconfirmation? %>
|
|
<%= f.email_field :unconfirmed_email, readonly: true,
|
|
confirmation_sent_at: l(@user.confirmation_sent_at) %>
|
|
<% end %>
|
|
|
|
<%# TODO: allow status change here? %>
|
|
<%= f.select :status, User.statuses, readonly: true %>
|
|
|
|
<%= f.text_field :created_at, readonly: true %>
|
|
<%= f.text_field :confirmed_at, readonly: true, placeholder: t(:no) %>
|
|
<% end %>
|