Sha256: 247d55f12fa3298ef967f7fdfdbfe77441b94002d8510c56edb6b55e084c8d31
Contents?: true
Size: 589 Bytes
Versions: 4
Compression:
Stored size: 589 Bytes
Contents
<h1>Ecrire</h1> <section> <h2>Create a user</h2> <%= form_for [:onboarding, user], url: onboarding_users_path, method: :post do |f| %> <% if user.errors.any? %> <%= content_tag :div, class: %w(error), as: 'Message' do %> <%= content_tag :p, user.errors.full_messages.first %> <% end %> <% end %> <%= f.text_field :email, placeholder: 'E-mail' %> <%= f.password_field :password, placeholder: 'Password' %> <%= f.password_field :password_confirmation, placeholder: 'Confirm your password' %> <%= button_tag 'Create' %> <% end %> </section>
Version data entries
4 entries across 4 versions & 1 rubygems