1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/app/views/settings/profiles/_form.html.erb

14 lines
443 B
Text

<%= simple_form_for account, url: settings_profile_path do |f| %>
<%= f.error_notification %>
<%= f.input :nickname, required: true %>
<%= f.input :public_name %>
<%= f.input :biography %>
<%= f.input :avatar, direct_upload: true %>
<% if f.object.avatar.attached? %>
<%= image_tag f.object.avatar, class: 'img-thumbnail mb-4' %>
<% end %>
<%= f.button :submit, translate('users.registrations.edit.update') %>
<% end %>