Sha256: 32a7a6342db1796ef0cc814e198ef943702a777818dfdb75f4575b56b5a74e9f

Contents?: true

Size: 820 Bytes

Versions: 5

Compression:

Stored size: 820 Bytes

Contents

.remote
  = simple_form_for(@opportunity, html: one_submit_only, remote: true) do |f|
    = link_to_close edit_opportunity_path(@opportunity)
    = f.hidden_field :user_id
    = f.hidden_field :campaign_id

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

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

    .buttonbar
      = f.submit t(:save_opportunity), onclick: %/$("#account_assigned_to").val($("#opportunity_assigned_to").val());/, class: 'btn btn-primary'
      #{t :or}
      = link_to_cancel edit_opportunity_path(@opportunity)

Version data entries

5 entries across 5 versions & 1 rubygems

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