Sha256: b3ab2d2449f6559cf85e40a054ff7b283c5f12101c1212aa07174e56ef0afa77

Contents?: true

Size: 615 Bytes

Versions: 8

Compression:

Stored size: 615 Bytes

Contents

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

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

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

  .buttonbar
    = f.submit t(:create_campaign)
    #{t :or}
    = link_to_cancel new_campaign_path

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fat_free_crm-0.19.2 app/views/campaigns/_new.html.haml
fat_free_crm-0.19.0 app/views/campaigns/_new.html.haml
fat_free_crm-0.18.2 app/views/campaigns/_new.html.haml
fat_free_crm-0.17.3 app/views/campaigns/_new.html.haml
fat_free_crm-0.18.1 app/views/campaigns/_new.html.haml
fat_free_crm-0.18.0 app/views/campaigns/_new.html.haml
fat_free_crm-0.17.2 app/views/campaigns/_new.html.haml
fat_free_crm-0.17.1 app/views/campaigns/_new.html.haml