<commit_before>.ui.page.centered.grid
  .ten.wide.column
    %h2.ui.basic.center.aligned.segment
      Estaca
      = @stake.name
      = link_to [:edit, @stake], title: 'Editar' do
        %i.ui.write.icon
    = render partial: 'messages/error_list',
      locals: { errors: @stake.errors.full_messages }
    = render partial: 'messages/all'
    .ui.tall.stacked.segments
      .ui.segment
        %h3
          = @stake.wards.count
          Alas da Estaca
          = @stake.name
      - if @stake.wards.empty?
        .ui.segment
          Nenhum registro encontrado
      - @stake.wards.order(:name).each do |ward|
        .ui.clearing.segment
          = link_to ward.name, ward
          = link_to edit_stake_path(ward),
            class: 'ui mini right floated icon button',
            title: 'Editar' do
            %i.edit.icon<commit_msg>[fix] bug ao editar uma ala na tela de estaca<commit_after>.ui.page.centered.grid
  .ten.wide.column
    %h2.ui.basic.center.aligned.segment
      Estaca
      = @stake.name
      = link_to [:edit, @stake], title: 'Editar' do
        %i.ui.write.icon
    = render partial: 'messages/error_list',
      locals: { errors: @stake.errors.full_messages }
    = render partial: 'messages/all'
    .ui.tall.stacked.segments
      .ui.segment
        %h3
          = @stake.wards.count
          Alas da Estaca
          = @stake.name
      - if @stake.wards.empty?
        .ui.segment
          Nenhum registro encontrado
      - @stake.wards.order(:name).each do |ward|
        .ui.clearing.segment
          = link_to ward.name, ward
          = link_to edit_ward_path(ward),
            class: 'ui mini right floated icon button',
            title: 'Editar' do
            %i.edit.icon
{'fraction_non_alphanumeric': 0.11886901327178304, 'fraction_numerical': 0.002308136180034622, 'mean_word_length': 1.8613861386138615, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7225030', 'n_tokens_mistral': 579, 'n_tokens_neox': 575, 'n_words': 118}