Sha256: d6d16ad8cd29a68e370f42d1ed176aa7445f61e1506d8fcc71de86c10bbf02ec

Contents?: true

Size: 977 Bytes

Versions: 3

Compression:

Stored size: 977 Bytes

Contents

.middle-box.text-center.loginscreen
  %div
    %div
      %h1.logo-name
        +
    %h3= @campaign.name
    %p
      = @campaign.try(:tagline)

    %p Don't miss our next post!

    Subscribe to our newsletter! We include fresh content, articles from our community and events we attend.

    = simple_form_for(@subscriber, :url => "", html: {class: 'm-t', role: "form" }, :defaults => { :input_html => { :class => "form-control" } }) do |f|

      .form-group
        = f.input :email, :required => false, :autofocus => true, :label=> false, :placeholder=> "email"

      .form-group
        = f.input :name, :required => false, label: false, placeholder: "first name"

      .form-group
        = f.input :last_name, :required => false, label: false, placeholder: "last name"

      = f.button :submit, "Sign in", :class => "btn btn-primary block full-width m-b", disable_with: "loading"


    %p.m-t
      %small
        = @campaign.name
        ©
        = Time.now.year

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
chaskiq-0.0.6 app/views/chaskiq/campaigns/subscribe.html.haml
chaskiq-0.0.5 app/views/chaskiq/campaigns/subscribe.html.haml
chaskiq-0.0.4 app/views/chaskiq/campaigns/subscribe.html.haml