Sha256: a7e3415773fb626a897af7988f3b6e6b529b32a55b8d46a44e62b2537afa5cf8
Contents?: true
Size: 938 Bytes
Versions: 18
Compression:
Stored size: 938 Bytes
Contents
.remote = simple_form_for(@lead, :html => one_submit_only, :remote => true) do |f| = link_to_close edit_lead_path(@lead) = f.hidden_field :user_id = f.error_messages :object_name => t('lead') = render "leads/top_section", :f => f, :edit => true = render "fields/edit_custom_field_group", :f => f, :edit => true = render "leads/status", :f => f, :edit => true = render "leads/contact", :f => f, :edit => true = render "leads/web", :f => f, :edit => true = render "fields/groups", :f => f, :edit => true = render "entities/permissions", :f => f, :edit => true, :entity => @lead = hook(:entity_form, self, {f: f, entity: @lead}) .buttonbar - if Setting.compound_address = f.submit t(:save_lead), :onclick => "crm.clear_all_hints()" - else = f.submit t(:save_lead) #{t :or} = link_to_cancel edit_lead_path(@lead)
Version data entries
18 entries across 18 versions & 2 rubygems