Sha256: c2c023dcacab1d63c8d5b29f134d2a9d8efbb3cb77d3da2aa542db57cce754ba
Contents?: true
Size: 588 Bytes
Versions: 16
Compression:
Stored size: 588 Bytes
Contents
-# acts_as_published = form.hide_if(:save_as_draft, true) do .row .col-md-6 = form.datetime_field :published_start_at, label: 'Published start', hint: 'Will appear on the website after this date and time. Leave blank to publish immediately.' .col-md-6 = form.datetime_field :published_end_at, label: 'Published end', hint: 'Will not appear on the website after this date and time. Leave blank for no end date.', date_linked: false = form.check_box :save_as_draft, label: "Save as a draft. It will not appear on the website and can only be accessed by admin users."
Version data entries
16 entries across 16 versions & 1 rubygems