<commit_before><% meta(
    title: t('.title', slogan: @room_offer.slogan[0..45].gsub(/\s\w+\s*$/,'...')),
    description: t('.description', type: t("activerecord.attributes.room_offer.offer_types.#{@room_offer.offer_type}"), desc: @room_offer.room_description[0..160].gsub(/\n/, " ")),
    robots: 'index, follow',
    og_title: t('.title', slogan: @room_offer.slogan[0..80].gsub(/\s\w+\s*$/,'...')),
    og_description: t('.description', type: t("activerecord.attributes.room_offer.offer_types.#{@room_offer.offer_type}"), desc: @room_offer.room_description[0..250].gsub(/\n/, " ")),
    og_image: attachment_url(@room_offer, :cover_photo, host: request.url, fallback: 'meta/og_logo.png')
  )
%>

<section class="roomDetail -Offer">
  <div class="imgHeader">
    <%= attachment_image_tag @room_offer, :cover_photo, :fill, 980, 420, fallback: 'cover_photo/980x370.png', class: 'titleImg' %>

    <div class="headContent">

      <div class="introtxt">
        <h1><span><%= t("activerecord.attributes.room_offer.offer_types.#{@room_offer.offer_type}") %></span></h1>
      </div>

      <div class="category-tags">
        <% if @room_offer.room_categories.present? %>
          <ul class="tag-list -mint">
            <% @room_offer.room_categories.each do |category| %>
              <li><%= category.name %></li>
            <% end %>
          </ul>
        <% end %>
      </div>

    </div>

  </div>



  <div class="mainContent">

    <div class="introtxt">
      <h3><%= @room_offer.slogan %></h3>
    </div>

    <div class="txt"><%= @room_offer.room_description %></div>

    <div class="entryImgUploads" data-featherlight-gallery data-featherlight-filter="a">
      <% @room_offer.images.each do |image| %>
        <%= link_to attachment_image_tag(image, :file, :fill, 200, 200), attachment_url(image, :file, :limit, 800, 800) %>
      <% end %>
    </div>

    <% if @room_offer.keyword_list.present? %>
      <section>
        <div class="bigicontext-element">
          <%= icon_tag "dot-3" %>
          <div class="txt">Ausstattung</div>
        </div>
        <div class="category-tags">
          <ul class="tag-list">
            <% @room_offer.keyword_list.each do |keyword| %>
              <li><%= keyword %></li>
            <% end %>
          </ul>
        </div>
      </section>
    <% end %>

    <section>
      <div class="bigicontext-element">
        <%= icon_tag "users" %>
        <div class="txt">Mein idealer Raumpartner</div>
      </div>
      <div class="txt"><%= @room_offer.tenant_description %></div>
    </section>

    <section class="owner">
      <div class="bigicontext-element">
        <% if @room_offer.user %>
          <%= attachment_image_tag(@room_offer, :avatar, :fill, 200, 200, class: 'room_offer avatar img-round', fallback: 'avatar/user/200x200.png') %>
        <% else %>
          <%= icon_tag "user-avatar" %>
        <% end %><commit_msg>added groups into room offer<commit_after><% meta(
    title: t('.title', slogan: @room_offer.slogan[0..45].gsub(/\s\w+\s*$/,'...')),
    description: t('.description', type: t("activerecord.attributes.room_offer.offer_types.#{@room_offer.offer_type}"), desc: @room_offer.room_description[0..160].gsub(/\n/, " ")),
    robots: 'index, follow',
    og_title: t('.title', slogan: @room_offer.slogan[0..80].gsub(/\s\w+\s*$/,'...')),
    og_description: t('.description', type: t("activerecord.attributes.room_offer.offer_types.#{@room_offer.offer_type}"), desc: @room_offer.room_description[0..250].gsub(/\n/, " ")),
    og_image: attachment_url(@room_offer, :cover_photo, host: request.url, fallback: 'meta/og_logo.png')
  )
%>

<section class="roomDetail -Offer">
  <div class="imgHeader">
    <%= attachment_image_tag @room_offer, :cover_photo, :fill, 980, 420, fallback: 'cover_photo/980x370.png', class: 'titleImg' %>

    <div class="headContent">

      <div class="introtxt">
        <h1><span><%= t("activerecord.attributes.room_offer.offer_types.#{@room_offer.offer_type}") %></span></h1>
      </div>

      <div class="category-tags">
        <% if @room_offer.room_categories.present? %>
          <ul class="tag-list -mint">
            <% @room_offer.room_categories.each do |category| %>
              <li><%= category.name %></li>
            <% end %>
          </ul>
        <% end %>
      </div>

    </div>

  </div>



  <div class="mainContent">

    <div class="introtxt">
      <h3><%= @room_offer.slogan %></h3>
    </div>

    <div class="txt"><%= @room_offer.room_description %></div>

    <div class="entryImgUploads" data-featherlight-gallery data-featherlight-filter="a">
      <% @room_offer.images.each do |image| %>
        <%= link_to attachment_image_tag(image, :file, :fill, 200, 200), attachment_url(image, :file, :limit, 800, 800) %>
      <% end %>
    </div>

    <% if @room_offer.keyword_list.present? %>
      <section>
        <div class="bigicontext-element">
          <%= icon_tag "dot-3" %>
          <div class="txt">Ausstattung</div>
        </div>
        <div class="category-tags">
          <ul class="tag-list">
            <% @room_offer.keyword_list.each do |keyword| %>
              <li><%= keyword %></li>
            <% end %>
          </ul>
        </div>
      </section>
    <% end %>

    <% if @room_offer.group %>
      <section>
        <div class="bigicontext-element">
          <%= icon_tag "speech-bubble" %>
          <div class="txt">Raumteiler Gruppe</div>
        </div>
        <%= render @room_offer.group %>
      </section>
    <% end %>

    <section>
      <div class="bigicontext-element">
        <%= icon_tag "users" %>
        <div class="txt">Mein idealer Raumpartner</div>
      </div>
      <div class="txt"><%= @room_offer.tenant_description %></div>
    </section>

    <section class="owner">
      <div class="bigicontext-element">
        <% if @room_offer.user %>
          <%= attachment_image_tag(@room_offer, :avatar, :fill, 200, 200, class: 'room_offer avatar img-round', fallback: 'avatar/user/200x200.png') %>
        <% else %>
          <%= icon_tag "user-avatar" %>
        <% end %>
{'fraction_non_alphanumeric': 0.19885057471264367, 'fraction_numerical': 0.0180623973727422, 'mean_word_length': 2.73680981595092, 'pattern_counts': {'":': 0, '<': 161, '<?xml version=': 0, '>': 161, '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': '4104977', 'n_tokens_mistral': 2345, 'n_tokens_neox': 2071, 'n_words': 353}