Sha256: e2ccef3867b13099c132e0517955e154bcae38747666d6422fd79f1e6b0d4f25

Contents?: true

Size: 1.64 KB

Versions: 1

Compression:

Stored size: 1.64 KB

Contents

<div class="text-white text-center"
<h2>Sign up</h2>

<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
  <%= render "users/shared/error_messages", resource: resource %>
  <div class="field text-black">
    <%= f.label :username, class: "text-white" %><br />
    <em class="text-white">(10 characters minimum)</em>
    <%= f.text_field :username, autofocus: true, autocomplete: "username",class: "px-4 py-2 rounded text-black border-2 border-purple-300 focus_border-purple-900" %>
  </div>

  <div class="field text-black">
    <%= f.label :email, class: "text-white" %><br />
    <%= f.email_field :email, autofocus: true, autocomplete: "email", class: "px-4 py-2 rounded text-black border-2 border-purple-300 focus_border-purple-900" %>
  </div>

  <div class="field text-black">
    <%= f.label :password, class: "text-white" %><br />
    <% if @minimum_password_length %>
    <em class="text-white">(<%= @minimum_password_length %> characters minimum)</em>
    <% end %><br />
    <%= f.password_field :password, autocomplete: "new-password", class: "px-4 py-2 rounded text-black border-2 border-purple-300 focus_border-purple-900" %>
  </div>

  <div class="field text-black">
    <%= f.label :password_confirmation, class: "text-white" %><br />
    <%= f.password_field :password_confirmation, autocomplete: "new-password", class: "px-4 py-2 rounded text-black border-2 border-purple-300 focus_border-purple-900" %>
  </div>
  <br/>
  <div class="actions">
    <%= f.submit "Sign up", class: "px-4 py-2 rounded bg-purple-500 hover_bg-purple-700 text-white" %>
  </div>
<% end %>
<br/>
<%= render "users/shared/links" %>
<br/>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
osbc-0.1.5 app/views/users/registrations/new.html.erb