Sha256: 09f7eb6e6abed2a72da3e6888fded695536932216e5c4c96312414ca4437235e
Contents?: true
Size: 1.2 KB
Versions: 13
Compression:
Stored size: 1.2 KB
Contents
- edit ||= false - collapsed = session[:campaign_objectives].nil? # && @campaign.errors.empty? = subtitle :campaign_objectives, collapsed, t(:objectives) .section %small#campaign_objectives_intro{ hidden_if(!collapsed) } = t(:intro, t(:objectives_small)) unless edit #campaign_objectives{ hidden_if(collapsed) } %small #{t :objectives_help} %table %tr %td .label #{t :number_of_leads}: = f.text_field :target_leads, style: "width:110px; text-align:right;" %td= spacer %td .label #{t :conversion_label}: = f.text_field :target_conversion, style: "width:110px; text-align:right;" %td= spacer %td .label #{t :revenue_label}: = f.text_field :target_revenue, value: @campaign.target_revenue ? @campaign.target_revenue.to_i : "", style: "width:110px; text-align:right;" %td= spacer %td .label #{t :budget_label}: = f.text_field :budget, value: @campaign.budget ? @campaign.budget.to_i : "", style: "width:110px; text-align:right;" %tr %td{ colspan: 7 } .label #{t :objectives}: = f.text_area :objectives, style: "width:500px", rows: 2
Version data entries
13 entries across 13 versions & 1 rubygems