Sha256: f3f7d5cdeb92e28f20a1f58e5d96d5f279074b2f55e32457b8f58ce14a66c9b8

Contents?: true

Size: 810 Bytes

Versions: 13

Compression:

Stored size: 810 Bytes

Contents

.remote
  = form_for(@lead, url: promote_lead_path(@lead), html: one_submit_only, remote: true) do |f|
    = link_to_close convert_lead_path(@lead)
    = fields_for(@account) do |a|
      = a.hidden_field :user_id
      = a.hidden_field :access

      = error_messages_for :account, :opportunity, object_name: t('lead')

      .section
        %small
          #{t(:convert_lead_text, @lead.full_name)}
        %table
          %tr
            %td= account_select_or_create(a)
            %td= spacer
            %td
              .label.req #{t :assigned_to}:
              = user_select(:account, all_users, current_user)
    = render "leads/opportunity"
    = render "leads/convert_permissions"
    .buttonbar
      = f.submit t(:convert_lead)
      #{t :or}
      = link_to_cancel convert_lead_path(@lead)

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
fat_free_crm-0.22.1 app/views/leads/_convert.html.haml
fat_free_crm-0.22.0 app/views/leads/_convert.html.haml
fat_free_crm-0.21.0 app/views/leads/_convert.html.haml
fat_free_crm-0.20.1 app/views/leads/_convert.html.haml
fat_free_crm-0.20.0 app/views/leads/_convert.html.haml
fat_free_crm-0.19.2 app/views/leads/_convert.html.haml
fat_free_crm-0.19.0 app/views/leads/_convert.html.haml
fat_free_crm-0.18.2 app/views/leads/_convert.html.haml
fat_free_crm-0.17.3 app/views/leads/_convert.html.haml
fat_free_crm-0.18.1 app/views/leads/_convert.html.haml
fat_free_crm-0.18.0 app/views/leads/_convert.html.haml
fat_free_crm-0.17.2 app/views/leads/_convert.html.haml
fat_free_crm-0.17.1 app/views/leads/_convert.html.haml