Sha256: e12a64e5e8aa5e1201916451326d6eb5c9d7c461ebc2f54b41cfd1348d52074f

Contents?: true

Size: 388 Bytes

Versions: 1

Compression:

Stored size: 388 Bytes

Contents

- if !product.hidden?
  %form.pure-form.pure-form-aligned(action="/product/#{product.id}/hide" method="post")
    %button.pure-button.pure-button-primary(type="submit")
      %i.fa.fa-ban
      Hide
- else
  %form.pure-form.pure-form-aligned(action="/product/#{product.id}/unhide" method="post")
    %button.pure-button.pure-button-primary(type="submit")
      %i.fa.fa-eye
      Unhide

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rawbotz-0.2.0 lib/rawbotz/views/_hide_unhide_button.haml