Sha256: e970e3a63a380c7440461e2247ec9e4bfbb19afb17e28e7909de9813b7169bcf
Contents?: true
Size: 1.13 KB
Versions: 12
Compression:
Stored size: 1.13 KB
Contents
= hook(:campaign_top_section, self, f: f) do .section %table %tr %td(colspan="5") .label.top.req #{t :name}: = f.text_field :name, autofocus: true, style: "width:500px" %tr %td .label #{t :start_date}: = f.text_field :starts_on, value: f.object.starts_on, style: "width:110px", autocomplete: :off, class: 'date' %td= spacer %td .label #{t :end_date}: = f.text_field :ends_on, value: f.object.ends_on, style: "width:110px", autocomplete: :off, class: 'date' %td= spacer %td .label #{t :status}: = f.select :status, Setting.unroll(:campaign_status), { selected: (@campaign.status || "planned").to_sym }, { style: "width:250px", class: 'select2' } - if Setting.background_info && Setting.background_info.include?(:campaign) %tr %td(colspan="5") .label= t(:background_info) + ':' = f.text_area :background_info, style: "width:500px", rows: 3 = render partial: "/shared/tags", locals: {f: f, span: 5} = hook(:campaign_top_section_bottom, self, f: f)
Version data entries
12 entries across 12 versions & 1 rubygems