Sha256: e9c69f69e446c475f24f408967507eb2727272de56e0522ff7066572036d21bc

Contents?: true

Size: 1.44 KB

Versions: 1

Compression:

Stored size: 1.44 KB

Contents

<div class="grid-x grid-margin-x">
    <div class="small-4 small-offset-4 cell">
        <h1 class="text-center">Resend unlock instructions</h1>

        <%= form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post, "data-abide": true, novalidate: true }) do |f| %>
            <% unless resource.errors.empty? %>
                <div class="alert callout">
                    <%= devise_simple_error_messages! %>
                </div>
            <% end %>

            <div data-abide-error class="alert callout" style="display: none;">
                <p><i class="fi-alert"></i> There are some errors in your form.</p>
            </div>

            <label for="<%= resource_name %>_email">
                <div class="input-group">
                    <span class="input-group-label"><i class="fa fa-envelope"></i></span>
                    <%= f.email_field :email, placeholder: 'Email Address', class: "input-group-field", required: "required", pattern: "email" %>
                    <span class="form-error" data-form-error-for="<%= resource_name %>_email">Your email is required.</span>
                </div>
            </label>

            <div class="input-group">
                <%= f.submit "Resend unlock instructions", class: "button primary large expanded" %>
            </div>
        <% end %>

        <div class="text-center">
            <%= render "devise/shared/links" %>
        </div>
    </div>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
devise-foundationed-0.1.1 app/views/devise/unlocks/new.html.erb