Sha256: 46a10832fa5baa4775b2adf98d1688f0becf6000eeb4b80793ea9f6266a13cbc

Contents?: true

Size: 905 Bytes

Versions: 2

Compression:

Stored size: 905 Bytes

Contents

.mdl-layout.mdl-js-layout.mdl-layout--fixed-header
  = render partial: "jobshop/shared/authenticated_header"
  %main.mdl-layout__content
    .dialog-box
      .dialog-box__header
        %i.material-icons location_city
      .dialog-box__content
        = simple_form_for @place, url: welcome_places_path do |f|
          .mdl-card__title
            %h4 First Place

          .mdl-card__supporting-text
            %p
              Places are how Jobshop manages all the different locations in your
              shop that a product may visit during its lifetime.

            = hidden_field_tag(:id, @place.id, id: nil) if @place.persisted?
            = f.input :name, label: "Where are you?", as: :string

          .mdl-card__actions
            %a.mdl-button.mdl-button--raised.mdl-button--secondary{ href: new_welcome_things_path } « Back
            = f.button :submit, raw("Next »")

Version data entries

2 entries across 2 versions & 1 rubygems

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