Sha256: 586cb92b60ed1661aeabdf20920efe5c0e0569ac3d225e044f36723d8cd80ff1

Contents?: true

Size: 1.38 KB

Versions: 5

Compression:

Stored size: 1.38 KB

Contents

<style type="text/css">
  body > .grid { height: 90%; }
  .column { max-width: 450px; }
  @media (min-width: 768px){
    .column { max-width: 600px; }
  }
</style>
<div class="ui middle aligned center aligned grid grey">
  <div class="column">
    <%- if options[:metatags] %>
    <h2 class="ui center aligned dividing header teal"><i class="signup icon"></i><%%= title('Sign up') %></h2>
    <% else -%>
    <h2 class="ui center aligned dividing header teal"><i class="signup icon"></i>Sign up</h2>
    <%- end %>
    <div class="ui large form <%%= "error" if resource.errors.any? %>">
      <%%= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f| %>
        <div class="ui error message">
          <%%= render 'devise/shared/error_messages' %>
        </div>
        <div class="field">
          <%%= f.label :email %><br />
          <%%= f.email_field :email, autofocus: true, value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email) ,placeholder: "Enter your email" %>
        </div>
        <div class="actions">
          <%%= f.submit 'Resend confirmation instructions', class: 'ui submit button teal fluid' %>
        </div>
      <%% end %>
      <div class="ui horizontal divider">or</div>
      <div class="ui horizontal list">
        <%%= render 'devise/shared/links' %>
      </div>
    </div>
  </div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
semantic_ui_views_generator-0.0.9 lib/generators/semantic/templates/devise/erb/confirmations/new.html.erb.tt
semantic_ui_views_generator-0.0.8 lib/generators/semantic/templates/devise/erb/confirmations/new.html.erb.tt
semantic_ui_views_generator-0.0.7 lib/generators/semantic/templates/devise/erb/confirmations/new.html.erb.tt
semantic_ui_views_generator-0.0.6 lib/generators/semantic/templates/devise/erb/confirmations/new.html.erb.tt
semantic_ui_views_generator-0.0.5 lib/generators/semantic/templates/devise/erb/confirmations/new.html.erb.tt