Sha256: 06ef6c64214efcf83d6917cce5afd4c83650b277717609d2256113189395eeac

Contents?: true

Size: 967 Bytes

Versions: 3

Compression:

Stored size: 967 Bytes

Contents

<div class="md:mx-auto md:max-w-md overflow-hidden mx-0">
   <div class="shadow-md rounded px-8 pt-6 pb-8 mb-4 flex flex-col justify-center bg-gray-50">
    <h2 class="text-center text-xl text-black">
<%- if options[:metatags] -%>
      <%%= title('Sign Up') %>
<%- else -%>
      Sign Up
<%- end -%>
    </h2>
    <%%= simple_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
      <%%= f.error_notification %>
      <%%= f.input :email, required: true, autofocus: true, input_html: { autocomplete: 'email' } %>
      <%%= f.input :password, required: true, hint: ("#{@minimum_password_length} characters minimum" if @minimum_password_length), input_html: { autocomplete: 'new-password' } %>
      <%%= f.input :password_confirmation, required: true, input_html: { autocomplete: 'new-password' } %>
      <%%= f.button :submit, 'Sign up', class: 'w-full' %>
    <%% end %>
    <%%= render 'devise/shared/links' %>
  </div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tailwind_views_generator-0.0.3 lib/templates/devise/simple_form/erb/registrations/new.html.erb.tt
tailwind_views_generator-0.0.2 lib/templates/devise/simple_form/erb/registrations/new.html.erb.tt
tailwind_views_generator-0.0.1 lib/templates/devise/simple_form/erb/registrations/new.html.erb.tt