<commit_before>-#<div class="opinion-page">
.page-header
  .container#opinion-page

    -# <% if flash[:notice] %>
    - if flash[:notice]
      .alert.alert-success.alert-dismissable
        -# <button type="button", class="close", data-dismiss="alert", aria-hidden="true"> &times;
        %button{ type: 'button', class: 'close', data: {dismiss: 'alert'}, aria: {hidden: :true} } &times;
        -# <%= h(flash[:notice]) %>
        = h(flash[:notice])

    -# <h1> ご意見版 </h1>
    -# <p> 実装~~~~ </p>
    %h1 ご意見版
    %p 実装して欲しい機能やコメントなど、 |
    なんでもご投稿ください |

    -# <%= form_for(@new_opinion) do |f| %>
    = form_for(@new_opinion) do |f|
      = f.text_field :title,   class: 'form-control', placeholder: 'タイトル',   required: true
      = f.text_area  :comment, class: 'form-control', placeholder: '意見や要望', required: true
      = f.submit     :comment, class: 'btn btn-primary'

.container
  - @opinions.reverse.each do |opinion|
    .opinion-list
      %h4= opinion[:title]
      - if @ids.blank? then
        %button{ class: 'btn opinion-iine', name: opinion[:id], value: opinion[:id] }<commit_msg>ご意見版->ご意見板、コメント削除<commit_after>.page-header
  .container#opinion-page

    - if flash[:notice]
      .alert.alert-success.alert-dismissable
        %button{ type: 'button', class: 'close', data: {dismiss: 'alert'}, aria: {hidden: :true} } &times;
        = h(flash[:notice])

    %h1 ご意見板
    %p 実装して欲しい機能やコメントなど、 |
    なんでもご投稿ください |

    = form_for(@new_opinion) do |f|
      = f.text_field :title,   class: 'form-control', placeholder: 'タイトル',   required: true
      = f.text_area  :comment, class: 'form-control', placeholder: '意見や要望', required: true
      = f.submit     :comment, class: 'btn btn-primary'

.container
  - @opinions.reverse.each do |opinion|
    .opinion-list
      %h4= opinion[:title]
      - if @ids.blank? then
        %button{ class: 'btn opinion-iine', name: opinion[:id], value: opinion[:id] }
{'fraction_non_alphanumeric': 0.17959396147839668, 'fraction_numerical': 0.0031233732431025507, 'mean_word_length': 2.987551867219917, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 13, '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': '3609280', 'n_tokens_mistral': 768, 'n_tokens_neox': 728, 'n_words': 150}