<commit_before>%h3= t("notice")
%br

= form_tag "/save-notice", :class=>"form-inline" do
  %fieldset
    .control-group
      %label.control-label{:for=>"text"}= "Na haste was zu melden?"
      .controls
        = text_area_tag :text, nil, :id=>"notice_text", :class=>"span7",:maxlength => 200,:rows => 3
        %p
          = I18n.t("characters_remaining")
          %span.js_chars_remaining
        = button_tag(icon_with_text("icon-comment", t(:save)), :class => "btn")
        = link_to t(:delete_link), notice_path

- if @notes.present?
  - @notes.each do |notice|
    - class_name = cycle("", "pull-right")
    %blockquote{:class => class_name}
      %p= notice.text
      %small= l(notice.created_at) + ", " + notice.user.name
  %br
  %br
  %br<commit_msg>Bugfix: wenn User gelöscht ist, wird Notice ohne seinen namen angezeigt<commit_after>%h3= t("notice")
%br

= form_tag "/save-notice", :class=>"form-inline" do
  %fieldset
    .control-group
      %label.control-label{:for=>"text"}= "Na haste was zu melden?"
      .controls
        = text_area_tag :text, nil, :id=>"notice_text", :class=>"span7",:maxlength => 200,:rows => 3
        %p
          = I18n.t("characters_remaining")
          %span.js_chars_remaining
        = button_tag(icon_with_text("icon-comment", t(:save)), :class => "btn")
        = link_to t(:delete_link), notice_path

- if @notes.present?
  - @notes.each do |notice|
    - class_name = cycle("", "pull-right")
    %blockquote{:class => class_name}
      %p= notice.text
      %small
        = l(notice.created_at) + ", "
        = notice.user.name if notice.user.present?
  %br
  %br
  %br
{'fraction_non_alphanumeric': 0.1727105101413645, 'fraction_numerical': 0.009834050399508297, 'mean_word_length': 2.9901960784313726, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, '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': '5877796', 'n_tokens_mistral': 598, 'n_tokens_neox': 589, 'n_words': 113}