<commit_before><% provide(:title, @robot.name) %>

<%= render "shared/title", title: (yield :title) %>

<div class="row">
  <div class="col-lg-12">
    <div align="right">
      <%= link_to fa_icon("pencil-square ", text:"編集"), edit_robot_path %>
    </div>
    <table class="table table-striped table-condensed">
      <tbody>
        <tr>
          <td>読み方：</td>
          <td><%= @robot.kana %></td>
        </tr>
        <tr>
          <td>チーム：</td>
          <td><%= @robot.team %></td>
        </tr>
      </tbody>
    </table>
  </div>
</div>

<div class="row">
  <div class="col-lg-12">
    <h4>全国大会進出情報</h4>
    <% if !@robot.advancement_history.blank? then %>
    <div align="right">
      <%=
        link_to fa_icon("pencil-square", text:"編集"),
        edit_robot_advancement_history_path(@robot.code)
      %>
      または
      <%=
        link_to fa_icon("trash", text:"削除"),
        robot_advancement_history_path(@robot.code), :method => :delete,
        data: {confirm: "削除しますか？"}
      %>
    </div>
    <% else %>
    <div align="right"><%=
      link_to fa_icon("pencil-square-o", text:"新規作成"),
      new_robot_advancement_history_path(@robot.code)
    %></div>
    <% end %>
    <table class="table table-striped table-condensed">
      <tbody>
        <% if !@robot.advancement_history.blank? then %>
        <tr>
          <td>進出ケース：</td>
          <td><%=
            Advancement.find_by(
              case: @robot.advancement_history.advancement_case
            ).case_name
          %></td>
        </tr>
        <% if @robot.advancement_history.decline then %>
        <tr>
          <td></td>
          <td>全国進出を辞退</td>
        </tr>
        <% end %>
        <tr>
          <td>メモ：</td>
          <td><%= @robot.advancement_history.memo %></td>
        </tr>
        <% else %>
        <tr><commit_msg>fix: 全国大会進出情報のメッセージ変更<commit_after><% provide(:title, @robot.name) %>

<%= render "shared/title", title: (yield :title) %>

<div class="row">
  <div class="col-lg-12">
    <div align="right">
      <%= link_to fa_icon("pencil-square ", text:"編集"), edit_robot_path %>
    </div>
    <table class="table table-striped table-condensed">
      <tbody>
        <tr>
          <td>読み方：</td>
          <td><%= @robot.kana %></td>
        </tr>
        <tr>
          <td>チーム：</td>
          <td><%= @robot.team %></td>
        </tr>
      </tbody>
    </table>
  </div>
</div>

<div class="row">
  <div class="col-lg-12">
    <h4>全国大会進出情報</h4>
    <% if !@robot.advancement_history.blank? then %>
    <div align="right">
      <%=
        link_to fa_icon("pencil-square", text:"編集"),
        edit_robot_advancement_history_path(@robot.code)
      %>
      または
      <%=
        link_to fa_icon("trash", text:"削除"),
        robot_advancement_history_path(@robot.code), :method => :delete,
        data: {confirm: "削除しますか？"}
      %>
    </div>
    <% else %>
    <div align="right"><%=
      link_to fa_icon("pencil-square-o", text:"新規作成"),
      new_robot_advancement_history_path(@robot.code)
    %></div>
    <% end %>
    <table class="table table-striped table-condensed">
      <tbody>
        <% if !@robot.advancement_history.blank? then %>
        <tr>
          <td>進出ケース：</td>
          <td><%=
            Advancement.find_by(
              case: @robot.advancement_history.advancement_case
            ).case_name
          %></td>
        </tr>
        <% if @robot.advancement_history.decline then %>
        <tr>
          <td></td>
          <td>全国進出を辞退</td>
        </tr>
        <% end %>
        <tr>
          <td>メモ：</td>
          <td><%= @robot.advancement_history.memo %></td>
        </tr>
        <% else %>
        <tr>
          <td colspan=2>未登録／残念ながら全国大会進出叶わず</td>
{'fraction_non_alphanumeric': 0.1909628832705756, 'fraction_numerical': 0.0034965034965034965, 'mean_word_length': 1.9633466135458166, 'pattern_counts': {'":': 0, '<': 141, '<?xml version=': 0, '>': 143, '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': '4487136', 'n_tokens_mistral': 1486, 'n_tokens_neox': 1449, 'n_words': 216}