<commit_before><form class="form-horizontal" role="form">

  <h3 id="fakta">Fakta</h3>

  {{#formgroup "Navn" 4}}
    {{#forminput "navn" id "text" "Hyttenavn"}}{{cabin.navn}}{{/forminput}}
  {{/formgroup}}

  {{#formgroup "Alt. navn" 4}}
    {{#each cabin.navn_alt}}
      <div class="input-group form-control-static">
        <span class="input-group-addon">{{ @index }}</span>
        {{#forminput "navn_alt[]" id "text" "Alternativt navn"}}{{ this }}{{/forminput}}
        <span class="input-group-addon"><span class="glyphicon glyphicon-plus"></span></span>
        <span class="input-group-addon"><span class="glyphicon glyphicon-minus"></span></span>
      </div>
    {{else}}
      <div class="input-group form-control-static">
        <span class="input-group-addon">0.</span>
        {{#forminput "navn_alt[]" id "text" "Alternativt navn"}}{{/forminput}}
        <span class="input-group-addon"><span class="glyphicon glyphicon-plus"></span></span>
        <span class="input-group-addon"><span class="glyphicon glyphicon-minus"></span></span>
      </div>
    {{/each}}
  {{/formgroup}}

  {{#formgroup "Beskrivelse"}}
    {{#formtext "beskrivelse" id 20}}{{{ cabin.beskrivelse }}}{{/formtext}}
  {{/formgroup}}

  {{#formgroup "Adkomst sommer"}}
    {{#formtext "adkomst_sommer" id 5}}{{{ cabin.adkomst.sommer }}}{{/formtext}}
  {{/formgroup}}

  <h3 id="kontakt">Kontaktinfo</h3>

  <div class="form-group">
    <div class="col-sm-10 col-sm-offset-2">
      <h3>Geografi <small>geografisk informasjon</small></h3>
    </div>
  </div>
<commit_msg>Move access fields to tabbed view<commit_after><form class="form-horizontal" role="form">

  <h3 id="fakta">Fakta</h3>

  {{#formgroup "Navn" 4}}
    {{#forminput "navn" id "text" "Hyttenavn"}}{{cabin.navn}}{{/forminput}}
  {{/formgroup}}

  {{#formgroup "Alt. navn" 4}}
    {{#each cabin.navn_alt}}
      <div class="input-group form-control-static">
        <span class="input-group-addon">{{ @index }}</span>
        {{#forminput "navn_alt[]" id "text" "Alternativt navn"}}{{ this }}{{/forminput}}
        <span class="input-group-addon"><span class="glyphicon glyphicon-plus"></span></span>
        <span class="input-group-addon"><span class="glyphicon glyphicon-minus"></span></span>
      </div>
    {{else}}
      <div class="input-group form-control-static">
        <span class="input-group-addon">0.</span>
        {{#forminput "navn_alt[]" id "text" "Alternativt navn"}}{{/forminput}}
        <span class="input-group-addon"><span class="glyphicon glyphicon-plus"></span></span>
        <span class="input-group-addon"><span class="glyphicon glyphicon-minus"></span></span>
      </div>
    {{/each}}
  {{/formgroup}}

  {{#formgroup "Beskrivelse"}}
    {{#formtext "beskrivelse" id 20}}{{{ cabin.beskrivelse }}}{{/formtext}}
  {{/formgroup}}

  <!-- Nav tabs -->
  {{#formgroup "Adkomst"}}
  <ul class="nav nav-tabs">
    <li><a href="#gsommer" data-toggle="tab" class="active">Generell sommer</a></li>
    <li><a href="#gvinter" data-toggle="tab">Generell vinter</a></li>
    <li><a href="#ksommer" data-toggle="tab">Kollektiv sommer</a></li>
    <li><a href="#kvinter" data-toggle="tab">Kollektiv vinter</a></li>
  </ul>

  <!-- Tab panes -->
  <div class="tab-content">
    <div class="tab-pane active" id="gsommer">
      {{#formtext "adkomst.generell.sommer" id 5}}{{{ cabin.adkomst.sommer }}}{{/formtext}}
    </div>
    <div class="tab-pane" id="gvinter">
      {{#formtext "adkomst.generell.vinter" id 5}}{{{ cabin.adkomst.vinter }}}{{/formtext}}
    </div>
    <div class="tab-pane" id="ksommer">
      {{#formtext "adkomst.generell.sommer" id 5}}{{{ cabin.adkomst.sommer }}}{{/formtext}}
    </div>
    <div class="tab-pane" id="kvinter">
      {{#formtext "adkomst.generell.vinter" id 5}}{{{ cabin.adkomst.vinter }}}{{/formtext}}
    </div>
  </div>
  {{/formgroup}}

  <h3 id="kontakt">Kontaktinfo</h3>

  <div class="form-group">
    <div class="col-sm-10 col-sm-offset-2">
      <h3>Geografi <small>geografisk informasjon</small></h3>
    </div>
  </div>

{'fraction_non_alphanumeric': 0.22741895570403364, 'fraction_numerical': 0.008166295471417966, 'mean_word_length': 3.8119047619047617, 'pattern_counts': {'":': 0, '<': 107, '<?xml version=': 0, '>': 107, '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': '717812', 'n_tokens_mistral': 1563, 'n_tokens_neox': 1504, 'n_words': 263}