<commit_before>%div{:style => "width: 60%"}
  = "Check the <a href='http://wiki.quintel.nl/index.php/Charts'>wiki</a> for more info".html_safe
  %br
  %br
  = simple_form_for [:admin, @output_element_serie] do |f|
    = f.association :output_element
    = f.input :label, :hint => "The translations of the label should be available!"
    = f.input :gquery, :hint => "This should be the key of your fantastic gquery! These can be found on the engine!"
    = f.input :color, :collection => OutputElementSerie::COLORS.to_a,:hint => "<span class='color_hint'></span><br/>".html_safe
    = f.input :order_by, :hint => "Which serie should be first, second, etc .. ?"
    = f.input :group, :hint => "This is only used for mekko's and horizontal stacked bars. This groups series with the same group. e.g.: the series query the carrier, the group defines the sector"
    = f.input :short_label, :hint => "The label shown in the cost/block chart"
    = f.input :show_at_first, :hint => "Should the serie shown as default in the cost/block chart?"
    = f.input :is_target_line, :hint => "This sets a serie to be a target line and should be the last one of the series!! (a target line is the horizontal red line mostly used on barcharts )" 
    = f.input :target_line_position, :hint => "This should be filled in when is_target_line is true, should be 1 if you want it placed on top of the 1st serie, 2 for the 2nd, etc.."
    = f.simple_fields_for :description do |j|
      = j.input :short_content_en, :hint => "This is only used on the cost/block chart!"
      = j.input :short_content_nl, :hint => "This is only used on the cost/block chart!"
      = j.input :content_en, :hint => "This is only used on the cost/block chart!"
      = j.input :content_nl, :hint => "This is only used on the cost/block chart!"
    = f.button :submit
  
  = link_to "back", admin_output_element_series_path<commit_msg>more links to wiki and documentation<commit_after>%div{:style => "width: 60%"}
  = "Check the <a href='http://wiki.quintel.nl/index.php/Charts' target='_blank'>wiki</a> for more info".html_safe
  %br
  %br
  = simple_form_for [:admin, @output_element_serie] do |f|
    = f.association :output_element, :collection => OutputElement.all(:order => "`output_elements`.key   ASC").map{|o| [o.key, o.id]}
    = f.input :label, :hint => "The translations of the label should be available! Check the <a href='http://wiki.quintel.nl/index.php/Charts' target='_blank'>wiki</a> for more info".html_safe
    = f.input :gquery, :hint => "This should be the key of your fantastic gquery! These can be found on the engine!"
    = f.input :color, :collection => OutputElementSerie::COLORS.to_a,:hint => "<span class='color_hint'></span><br/>".html_safe
    = f.input :order_by, :hint => "Which serie should be first, second, etc .. ?"
    = f.input :group, :hint => "This is only used for mekko's, waterfalls and horizontal stacked bars. This groups series with the same group. e.g.: the series query the carrier, the group defines the sector. Check the <a href='http://wiki.quintel.nl/index.php/Charts' target='_blank'>wiki</a> for more info".html_safe
    = f.input :show_at_first, :hint => "Should the serie shown as default in the cost/block chart?"
    = f.input :is_target_line, :hint => "This sets a serie to be a target line and should be the last one of the series!! (a target line is the horizontal red line mostly used on barcharts )" 
    = f.input :target_line_position, :hint => "This should be filled in when is_target_line is true, should be 1 if you want it placed on top of the 1st serie, 2 for the 2nd, etc.. See <a href='http://wiki.quintel.nl/index.php/Charts#Vertical_Stacked_Bar' target='_blank'>wiki</a> for more info".html_safe
    = f.simple_fields_for :description do |j|
      = j.input :short_content_en, :hint => "This is only used on the cost/block chart!"
      = j.input :short_content_nl, :hint => "This is only used on the cost/block chart!"
      = j.input :content_en, :hint => "This is only used on the cost/block chart!"
      = j.input :content_nl, :hint => "This is only used on the cost/block chart!"
    = f.button :submit
  
  = link_to "back", admin_output_element_series_path
{'fraction_non_alphanumeric': 0.12842506552299263, 'fraction_numerical': 0.0028591851322373124, 'mean_word_length': 3.8927738927738926, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 50, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '525932', 'n_tokens_mistral': 1347, 'n_tokens_neox': 1327, 'n_words': 497}