Sha256: 3c6f521f034b9819cb150b9e5ec9abb17578c022cd82bc197fbb34617aea9db6

Contents?: true

Size: 469 Bytes

Versions: 4

Compression:

Stored size: 469 Bytes

Contents

- if spath.new_record?
  - url = spaths_path
- else
  - url = spath_path(spath)

.sitemap-paths--form
  = form_for spath, url: url do |f|
    = hidden_field_tag :site_id, spath[:site_id] || params[:site_id]

    .d-flex
      .field
        %label Path
        = f.text_field :path
      .field
        %label redirect_to
        = f.text_field :redirect_to
      .field
        %label selector
        = f.text_field :selector

      .actions
        = f.submit 'Go'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wco_models-3.1.0.168 app/views/wco/sitemap_paths/_form.haml
wco_models-3.1.0.167 app/views/wco/sitemap_paths/_form.haml
wco_models-3.1.0.166 app/views/wco/sitemap_paths/_form.haml
wco_models-3.1.0.165 app/views/wco/sitemap_paths/_form.haml