Sha256: ccb5b15c6e9e6400e9063ff03e958bb598badc55c9d1d4d42b8982253c8d6fa7
Contents?: true
Size: 561 Bytes
Versions: 20
Compression:
Stored size: 561 Bytes
Contents
<h1>Ecrire</h1> <section> <h2>Create a user</h2> <%= form_for user, method: :post, url: '/users' 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
20 entries across 20 versions & 1 rubygems