Sha256: 71191e0685e32750d6fa3400f73780bb61f754e9134b2036c1d1a5a24c9a0b32

Contents?: true

Size: 886 Bytes

Versions: 3

Compression:

Stored size: 886 Bytes

Contents

<div class="mx-auto md:w-2/3 w-full">
  <%% if alert = flash[:alert] %>
    <p class="py-2 px-3 bg-red-50 mb-5 text-red-500 font-medium rounded-lg inline-block" id="alert"><%%= alert %></p>
  <%% end %>

  <h1 class="font-bold text-4xl">Forgot your password?</h1>

  <%%= form_with url: passwords_path, class: "contents" do |form| %>
    <div class="my-5">
      <%%= form.email_field :email_address, required: true, autofocus: true, autocomplete: "username", placeholder: "Enter your email address", value: params[:email_address], class: "block shadow rounded-md border border-gray-400 outline-none focus:outline-blue-600 px-3 py-2 mt-2 w-full" %>
    </div>

    <div class="inline">
      <%%= form.submit "Email reset instructions", class: "rounded-lg px-3.5 py-2.5 bg-blue-600 hover:bg-blue-500 text-white inline-block font-medium cursor-pointer" %>
    </div>
  <%% end %>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tailwindcss-rails-3.3.1 lib/generators/tailwindcss/authentication/templates/app/views/passwords/new.html.erb
tailwindcss-rails-3.3.0 lib/generators/tailwindcss/authentication/templates/app/views/passwords/new.html.erb
tailwindcss-rails-3.2.0 lib/generators/tailwindcss/authentication/templates/app/views/passwords/new.html.erb