Sha256: 0d9b239f903ce456519b3ef240e5dcd6ba74883580accac732f00e76654a80ec

Contents?: true

Size: 1.14 KB

Versions: 5

Compression:

Stored size: 1.14 KB

Contents

.ui.middle.aligned.center.aligned.grid
  .column
    <%- if options[:metatags] %>
    h2.ui.center.aligned.dividing.header.teal
      i.signup.icon
      = title("Sign up")
    <%- else %>
    h2.ui.center.aligned.dividing.header.teal
      i.signup.icon
      | Sign up
    <%- end %>
    div class=("ui large form #{"error" if resource.errors.any?}")
      = simple_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
        = f.error_notification
        .field
          = 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" }
        .actions
          = f.button :submit, 'Sign up'
      .ui.horizontal.divider or
      .ui.horizontal.list
        = render "devise/shared/links"
css:
  body > .grid { height: 90%; }
  .column { max-width: 450px; }
  @media (min-width: 768px){
    .column { max-width: 600px; }
  }

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
semantic_ui_views_generator-0.0.9 lib/generators/semantic/templates/devise/simple_form/slim/registrations/new.html.slim.tt
semantic_ui_views_generator-0.0.8 lib/generators/semantic/templates/devise/simple_form/slim/registrations/new.html.slim.tt
semantic_ui_views_generator-0.0.7 lib/generators/semantic/templates/devise/simple_form/slim/registrations/new.html.slim.tt
semantic_ui_views_generator-0.0.6 lib/generators/semantic/templates/devise/simple_form/slim/registrations/new.html.slim.tt
semantic_ui_views_generator-0.0.5 lib/generators/semantic/templates/devise/simple_form/slim/registrations/new.html.slim.tt