Sha256: 30a31e267b3545857a774739b86af4db2ea8c55d097d9b5fd622c512b47c951a
Contents?: true
Size: 1.83 KB
Versions: 8
Compression:
Stored size: 1.83 KB
Contents
- collapsed = session[:lead_convert_permissions].nil? # && @lead.errors.empty? = subtitle :lead_convert_permissions, collapsed, t(:permissions) .section %small#lead_convert_permissions_intro{ hidden_if(!collapsed) } = t(:convert_lead_permissions_intro) #lead_convert_permissions{ hidden_if(collapsed) } .radio_box = radio_button_tag "access", "Lead", true, :onclick => "$('people').hide(); $('account_access').value = $('opportunity_access').value = 'Lead'" = label :access, :Lead, t(:copy_permissions, t(:lead_small)), :style => "cursor:pointer" .radio_box = radio_button_tag "access", "Private", false, :onclick => "$('people').hide(); $('account_access').value = $('opportunity_access').value = 'Private'" = label :access, :Private, t(:keep_private), :style => "cursor:pointer" .radio_box = radio_button_tag "access", "Public", false, :onclick => "$('people').hide(); $('account_access').value = $('opportunity_access').value = 'Public'" = label :access, :Public, t(:make_public), :style => "cursor:pointer" .radio_box = radio_button_tag "access", "Shared", false, :onclick => "$('people').show(); $('account_access').value = $('opportunity_access').value = 'Shared'" = label :access, :Shared, t(:share_with), :style => "cursor:pointer" #people{ hidden_if(@lead.access != "Shared") } %table %tr %td = label_tag :lead_user_ids, "#{t(:users)}:" %br = select :lead, :user_ids, user_options, {}, :multiple => true :javascript new Chosen($('lead_user_ids')); %tr %td = label_tag :lead_group_ids, "#{t(:groups)}:" %br = select :lead, :group_ids, group_options, {}, :multiple => true :javascript new Chosen($('lead_group_ids'));
Version data entries
8 entries across 8 versions & 1 rubygems