LoginSignup
0
0

More than 3 years have passed since last update.

サインアップview イメージ(自分用)

Posted at

Sign up

<%= form_with model: @user, url: user_registration_path, class: 'registration-main', local: true do |f| %>

<%= render 'devise/shared/error_messages', model: f.object %>


<%= f.label :name %>

<%= f.text_field :name, autofocus: true, autocomplete: "name" %>


<%= f.label :email %>

<%= f.email_field :email, autofocus: true, autocomplete: "email" %>


<%= f.label :password %>
<% if @minimum_password_length %>
(<%= @minimum_password_length %> characters minimum)
<% end %>

<%= f.password_field :password, autocomplete: "new-password" %>


<%= f.label :password_confirmation %>

<%= f.password_field :password_confirmation, autocomplete: "new-password" %>


<%= f.submit "Sign up" %>

<% end %>

<%= render "devise/shared/links" %>

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0