<%= select_tag 'settings[name_format]', options_for_select(Contact::CONTACT_FORMATS.keys.collect {|f| [Contact.new(:first_name => 'Firstname', :last_name => 'Lastname', :middle_name => 'Middlename').name(f), f.to_s] }, @settings[:name_format] ) %>
<%= select_tag 'settings[default_list_style]', options_for_select([[l(:label_crm_list_excerpt), "list_excerpt"], [l(:label_crm_list_list), "list"], [l(:label_crm_list_cards), "list_cards"]] , @settings[:default_list_style]) %>
<%= check_box_tag 'settings[select_companies_to_deal]', 1, @settings[:select_companies_to_deal] %>
<%= check_box_tag 'settings[cross_project_contacts]', 1, @settings[:cross_project_contacts] %>
<%= text_area_tag 'settings[post_address_format]', ContactsSetting.post_address_format, :rows => 5 %> <%= l(:label_crm_post_address_format_macros, :macros => '%street1%, %street2%, %city%, %town%, %postcode%, %zip%, %region%, %state%, %country%') %>
<%= check_box_tag 'settings[contacts_show_in_top_menu]', 1, @settings[:contacts_show_in_top_menu] %> <%= l(:label_contact_plural) %> <%= check_box_tag 'settings[deals_show_in_top_menu]', 1, @settings[:deals_show_in_top_menu] %> <%= l(:label_deal_plural) %>
<%= check_box_tag 'settings[contacts_show_in_app_menu]', 1, @settings[:contacts_show_in_app_menu] %> <%= l(:label_contact_plural) %> <%= check_box_tag 'settings[deals_show_in_app_menu]', 1, @settings[:deals_show_in_app_menu] %> <%= l(:label_deal_plural) %>
<%= check_box_tag 'settings[note_authoring_time]', 1, @settings[:note_authoring_time] %>
<%= check_box_tag 'settings[show_in_app_menu]', 1, @settings[:show_in_app_menu] %>
<%= check_box_tag 'settings[show_closed_issues]', 1, @settings[:show_closed_issues] %>
<%= check_box_tag 'settings[auto_contacts_thumbnails]', 1, @settings[:auto_contacts_thumbnails] %>
<% unless Redmine::Thumbnail.convert_available? %><%= text_field_tag 'settings[max_contacts_thumbnail_file_size]', @settings[:max_contacts_thumbnail_file_size], :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %>
<% end %><%= check_box_tag 'settings[monochrome_tags]', 1, @settings[:monochrome_tags] %>