Sha256: e301d3c07b1640ebd79e6bc2df275e91b37f85ee781c80b364df1d7b5a0b0211

Contents?: true

Size: 1.03 KB

Versions: 5

Compression:

Stored size: 1.03 KB

Contents

%main.mdl-layout__content
  %div.mdl-grid
    %div.mdl-cell.mdl-cell--12-col
      %div#register.mdl-card
        = form_for @registration, builder: Jobshop::Builder, url: team_registration_path(@registration.team) do |f|
          .mdl-card__title
            %object.logo{ type: "image/svg+xml", data: image_path("jobshop/logo.svg") }

            %h4
              Get started with
              %br>
              %strong Jobshop
          .mdl-card__supporting-text
            = hidden_field_tag(:registration_token, params[:registration_token])

            - if @registration.errors.present?
              %p.error try again

            = f.fields_for(@registration.team) do |team_f|
              %div= team_f.text_field(:name)

            = f.fields_for(@registration.user) do |user_f|
              %div= user_f.email_field(:email)
              %div= user_f.password_field(:password)
              %div= user_f.password_field(:password_confirmation)
              %div= f.button "Next »".html_safe, class: "btn waves-effect waves-light"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jobshop-0.0.16 app/views/jobshop/teams/registrations/new.html.haml
jobshop-0.0.15 app/views/jobshop/teams/registrations/new.html.haml
jobshop-0.0.14 app/views/jobshop/teams/registrations/new.html.haml
jobshop-0.0.13 app/views/jobshop/teams/registrations/new.html.haml
jobshop-0.0.12 app/views/jobshop/teams/registrations/new.html.haml