<commit_before><% if signed_in? %>
<h1>Listing mercadoria</h1>

<table>
  <thead>
    <tr>
      <th>Nome</th>
      <th>Descricao</th>
      <th>Preco</th>
      <th>Precoumcbm</th>
      <th>Precomeiodevinte</th>
      <th>Altura</th>
      <th>Largura</th>
      <th>Comprimento</th>
      <th>Precofrete</th>
      <th>Imposto</th>
      <th>Precodevenda</th>
      <th>Precodaconco</th>
      <th>Vendamensal</th>
      <th>Outroscustosdevenda</th>
<th>precooriginal</th>
      <th></th>
      <th></th>
      <th></th>
    </tr>
  </thead>

  <tbody>
    <% @mercadoria.each do |mercadorium| %>
      <tr>
        <td><%= mercadorium.nome %></td>
        <td><%= mercadorium.descricao %></td>
        <td><%= mercadorium.preco %></td>
        <td><%= mercadorium.precoumcbm %></td>
        <td><%= mercadorium.precomeiodevinte %></td>
        <td><%= mercadorium.altura %></td>
        <td><%= mercadorium.largura %></td>
        <td><%= mercadorium.comprimento %></td>
        <td><%= mercadorium.precofrete %></td>
        <td><%= mercadorium.imposto %></td>
        <td><%= mercadorium.precodevenda %></td>
        <td><%= mercadorium.precodaconco %></td>
        <td><%= mercadorium.vendamensal %></td>
        <td><%= mercadorium.outroscustosdevenda %></td>
 <td><%= mercadorium.precooriginal %></td>

        <td><%= link_to 'Show', mercadorium %></td>
        <td><%= link_to 'Edit', edit_mercadorium_path(mercadorium) %></td>
        <td><%= link_to 'Destroy', mercadorium, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Mercadorium', new_mercadorium_path %>

<% else %>
<% provide(:title, "Sign in") %>
<h1>Sign in</h1>

<div class="row">
  <div class="span6 offset3">
    <%= form_for(:session, url: sessions_path) do |f| %>

      <%= f.label :email %>
      <%= f.text_field :email %>

      <%= f.label :password %>
      <%= f.password_field :password %>

      <%= f.submit "Sign in", class: "btn btn-large btn-primary" %>
    <% end %>

    <p>New user? <%= link_to "Sign up now!", signup_path %></p>
  </div>
</div>
<commit_msg>mercadoria so se stiver singin nao deu certo<commit_after><% if signed_in? %>
<h1>Listing mercadoria</h1>

<table>
  <thead>
    <tr>
      <th>Nome</th>
      <th>Descricao</th>
      <th>Preco</th>
      <th>Precoumcbm</th>
      <th>Precomeiodevinte</th>
      <th>Altura</th>
      <th>Largura</th>
      <th>Comprimento</th>
      <th>Precofrete</th>
      <th>Imposto</th>
      <th>Precodevenda</th>
      <th>Precodaconco</th>
      <th>Vendamensal</th>
      <th>Outroscustosdevenda</th>
<th>precooriginal</th>
      <th></th>
      <th></th>
      <th></th>
    </tr>
  </thead>

  <tbody>
    <% @mercadoria.each do |mercadorium| %>
      <tr>
        <td><%= mercadorium.nome %></td>
        <td><%= mercadorium.descricao %></td>
        <td><%= mercadorium.preco %></td>
        <td><%= mercadorium.precoumcbm %></td>
        <td><%= mercadorium.precomeiodevinte %></td>
        <td><%= mercadorium.altura %></td>
        <td><%= mercadorium.largura %></td>
        <td><%= mercadorium.comprimento %></td>
        <td><%= mercadorium.precofrete %></td>
        <td><%= mercadorium.imposto %></td>
        <td><%= mercadorium.precodevenda %></td>
        <td><%= mercadorium.precodaconco %></td>
        <td><%= mercadorium.vendamensal %></td>
        <td><%= mercadorium.outroscustosdevenda %></td>
 <td><%= mercadorium.precooriginal %></td>

        <td><%= link_to 'Show', mercadorium %></td>
        <td><%= link_to 'Edit', edit_mercadorium_path(mercadorium) %></td>
        <td><%= link_to 'Destroy', mercadorium, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Mercadorium', new_mercadorium_path %>

<% else %>
  <div class="center hero-unit">
    <h1>Markino Trading</h1>

    <h2>
      This is the home page for the
      <a href="http://railstutorial.org/">Ruby on Rails Tutorial</a>
      sample application.
    </h2>
    
    <%= link_to "Sign up now!", signup_path,
                                class: "btn btn-large btn-primary" %>
  </div>

  <%= link_to image_tag("rails.png", alt: "Rails"), 'http://rubyonrails.org/' %>
<% end %>

{'fraction_non_alphanumeric': 0.21500350549193736, 'fraction_numerical': 0.002804393549894835, 'mean_word_length': 2.6057287278854253, 'pattern_counts': {'":': 0, '<': 247, '<?xml version=': 0, '>': 247, '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': '3204815', 'n_tokens_mistral': 1802, 'n_tokens_neox': 1679, 'n_words': 305}