Sha256: 815a784cb66ef7d278a0ca1929e6843396c0958047dab5acd91211458d48c397

Contents?: true

Size: 1.19 KB

Versions: 1

Compression:

Stored size: 1.19 KB

Contents

%main.mdl-layout__content
  .dialog-box
    .dialog-box__header
      %i.material-icons location_city
    .dialog-box__content
      = simple_form_for @registration, url: welcome_registration_path do |f|
        .mdl-card__title
          %h4.mdl-card__title-text
            Registration
        .mdl-card__supporting-text
          = hidden_field_tag(:team_id, params[:team_id])
          = hidden_field_tag(:registration_token, params[:registration_token])
          = f.fields_for(f.object.user) do |uf|
            = uf.input :forename, label: "First Name"
            = uf.input :surname, label: "Last Name"
            = uf.input :email

          = f.fields_for(f.object.team) do |tf|
            %p
              Choose a name for your team.
            = tf.input :name, label: "Team Name"

          = f.fields_for(f.object.user) do |uf|
            %p
              Pick a strong password. Ideally it will be longer than eight
              characters, have mixed upper/lower case, and include numbers
              and symbols.
            = uf.input :password
            = uf.input :password_confirmation
        .mdl-card__actions
          .expand
          = f.button :submit, "Next »".html_safe

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jobshop-0.0.131 app/views/jobshop/welcome/registrations/new.html.haml