Sha256: 8083019fc6a5e0403ab410d25fc562f1e2ec68ef1b09f6bd190444912dd38b1a

Contents?: true

Size: 721 Bytes

Versions: 5

Compression:

Stored size: 721 Bytes

Contents

.remote
  = simple_form_for(@campaign, html: one_submit_only, remote: true) do |f|
    = link_to_close edit_campaign_path(@campaign)
    = f.hidden_field :user_id

    = f.error_messages object_name: t('campaign')

    = render "campaigns/top_section", f: f, edit: true
    = render "fields/edit_custom_field_group", f: f, edit: true
    = render "campaigns/objectives",  f: f, edit: true
    = render "fields/groups",         f: f, edit: true
    = render "entities/permissions",  f: f, edit: true, entity: @campaign
    = hook(:entity_form, self, {f: f, entity: @campaign})

    .buttonbar
      = f.submit t(:save_campaign), class: 'btn btn-primary'
      #{t :or}
      = link_to_cancel edit_campaign_path(@campaign)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fat_free_crm-0.22.1 app/views/campaigns/_edit.html.haml
fat_free_crm-0.22.0 app/views/campaigns/_edit.html.haml
fat_free_crm-0.21.0 app/views/campaigns/_edit.html.haml
fat_free_crm-0.20.1 app/views/campaigns/_edit.html.haml
fat_free_crm-0.20.0 app/views/campaigns/_edit.html.haml