<%= form.label :username, 'Username:' %>
<%= form.text_field :username, class: 'form-control' %>
<%= form.label :email, 'Email:' %>
<%= form.email_field :email, class: 'form-control' %>
<%= form.label :password, 'Password:' %>
<%= form.password_field :password, class: 'form-control' %>
<%= form.label :password_confirmation, 'Confirm Password:' %>
<%= form.password_field :password_confirmation, class: 'form-control' %>
<%= form.label :username, 'Username:' %>
: Generates a label for the :username
attribute with the displayed text 'Username:'.
<%= form.text_field :username, class: 'form-control' %>
: Creates a text input field for the :username
attribute, with the specified CSS class 'form-control'.
<%= form.label :email, 'Email:' %>
: Generates a label for the :email
attribute with the displayed text 'Email:'.
<%= form.email_field :email, class: 'form-control' %>
: Creates an email input field for the :email
attribute, with the specified CSS class 'form-control'.
<%= form.label :password, 'Password:' %>
: Generates a label for the :password
attribute with the displayed text 'Password:'.
<%= form.password_field :password, class: 'form-control' %>
: Creates a password input field for the :password
attribute, with the specified CSS class 'form-control'.
<%= form.label :password_confirmation, 'Confirm Password:' %>
: Generates a label for the :password_confirmation
attribute with the displayed text 'Confirm Password:'.
<%= form.password_field :password_confirmation, class: 'form-control' %>
: Creates a password input field for the :password_confirmation
attribute, with the specified CSS class 'form-control'.