Sha256: 584eb17fb7bb5b392038dcd3d3996074c2bf52dc1aad2ca9828bca1d3dca6116

Contents?: true

Size: 641 Bytes

Versions: 5

Compression:

Stored size: 641 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), class: 'btn btn-primary'
    #{t :or}
    = link_to_cancel new_campaign_path

Version data entries

5 entries across 5 versions & 1 rubygems

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