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

Version Path
ecrire-0.31.2 lib/ecrire/onboarding/views/users/index.html.erb
ecrire-0.31.1 lib/ecrire/onboarding/views/users/index.html.erb
ecrire-0.31.0 lib/ecrire/onboarding/views/users/index.html.erb
ecrire-0.30.3 lib/ecrire/onboarding/views/users/index.html.erb
ecrire-0.30.2 lib/ecrire/onboarding/views/users/index.html.erb
ecrire-0.30.1 lib/ecrire/onboarding/views/users/index.html.erb
ecrire-0.30.0 lib/ecrire/onboarding/views/users/index.html.erb
ecrire-0.29.0 lib/ecrire/onboarding/views/users/index.html.erb
ecrire-0.28.3 lib/ecrire/onboarding/views/users/index.html.erb
ecrire-0.28.2 lib/ecrire/onboarding/views/users/index.html.erb
ecrire-0.28.1 lib/ecrire/onboarding/views/users/index.html.erb
ecrire-0.28.0 lib/ecrire/onboarding/views/users/index.html.erb
ecrire-0.27.0 lib/ecrire/onboarding/views/users/index.html.erb
ecrire-0.26.3 lib/ecrire/onboarding/views/users/index.html.erb
ecrire-0.26.2 lib/ecrire/onboarding/views/users/index.html.erb
ecrire-0.26.1 lib/ecrire/onboarding/views/users/index.html.erb
ecrire-0.26.0 lib/ecrire/onboarding/views/users/index.html.erb
ecrire-0.25.2 lib/ecrire/onboarding/views/users/index.html.erb
ecrire-0.25.1 lib/ecrire/onboarding/views/users/index.html.erb
ecrire-0.25.0 lib/ecrire/onboarding/views/users/index.html.erb