Sha256: 9130950ebb65d7db2303404b99b9eda831315ebb5c8611c00a62c562c5daf912

Contents?: true

Size: 782 Bytes

Versions: 5

Compression:

Stored size: 782 Bytes

Contents

.remote
  = simple_form_for(@opportunity, :html => one_submit_only(:opportunity), :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

    .buttonbar
      = f.submit t(:save_opportunity), :onclick => %/$("account_assigned_to").value = $F("opportunity_assigned_to");/
      #{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.12.3 app/views/opportunities/_edit.html.haml
fat_free_crm-0.12.2 app/views/opportunities/_edit.html.haml
fat_free_crm-0.12.1 app/views/opportunities/_edit.html.haml
fat_free_crm-0.12.0 app/views/opportunities/_edit.html.haml
fat_free_crm-0.11.4 app/views/opportunities/_edit.html.haml