<commit_before><template name="meetingEdit">

  {{#if userCanEditMeeting}}

    <div class="bar bar-header bar-light">
      {{> barHeaderLeft leftType="cancel"}}

      {{> barHeaderTitle title="Edit Meeting"}}
      <div class="buttons">
        {{#with meetingData}}
          <a id="doneButton" class="button button-clear pull-right button-positive">
            <strong>Done</strong>
          </a>
        {{/with}}
      </div>
    </div>

    {{#ionView}}
      {{#ionContent}}
        {{#ionList}}
          {{#with meetingData}}
            <label class="item item-input">
              <span class="input-label">Meeting Date</span>
              <input type="date" id="meetingDate" placeholder="Meeting Date" value="{{meetingDate}}">
            </label>

            <div class="item item-divider">
              Notes
            </div>
            <label class="item">
              <textarea id="notes" placeholder="Notes" rows="3">{{notes}}</textarea>
            </label>

            <div class="item item-divider">
              Prayers
            </div>
            <a id="invocationItem" class="item item-icon-right" href="{{pathFor 'memberSelect'}}">
              Invocation
              <span class="item-note">{{{invocationSession}}}</span>
              <i class="icon ion-ios-arrow-right"></i>
            </a>
            <a id="benedictionItem" class="item item-icon-right" href="{{pathFor 'memberSelect'}}">
              Benediction
              <span class="item-note">{{{benedictionSession}}}</span>
              <i class="icon ion-ios-arrow-right"></i>
            </a>

            <div class="item item-divider">
              Administration
            </div>
            <div class="item item-toggle">
               Fast and Testimony
               <label class="toggle toggle-assertive">
                 <input type="checkbox" id="fastAndTestimony" checked="{{isChecked fastAndTestimony}}">
                 <div class="track">
                   <div class="handle"></div>
                 </div>
               </label>
            </div>
            <a id="presidingItem" class="item item-icon-right" href="{{pathFor 'memberSelect'}}">
              Presiding
              <span class="item-note">{{{presidingSession}}}</span>
              <i class="icon ion-ios-arrow-right"></i>
            </a>
            <a id="conductingItem" class="item item-icon-right" href="{{pathFor 'memberSelect'}}">
              Conducting
              <span class="item-note">{{{conductingSession}}}</span>
              <i class="icon ion-ios-arrow-right"></i>
            </a>
            <a id="attendanceItem" class="item item-icon-right" href="{{pathFor 'attendanceSelect'}}">
              Attendance
              <span class="item-note">{{{attendanceSession}}}</span>
              <i class="icon ion-ios-arrow-right"></i>
            </a>

            <div class="item item-divider">
              Music
            </div>
            <a id="organistItem" class="item item-icon-right" href="{{pathFor 'memberSelect'}}">
              Organist
              <span class="item-note">{{{organistSession}}}</span>
              <i class="icon ion-ios-arrow-right"></i>
            </a>
            <a id="choristerItem" class="item item-icon-right" href="{{pathFor 'memberSelect'}}">
              Chorister
              <span class="item-note">{{{choristerSession}}}</span>
              <i class="icon ion-ios-arrow-right"></i>
            </a>
            <a id="openingHymnItem" class="item item-icon-right" href="{{pathFor 'hymnSelect'}}">
              Opening Hymn
              <span class="item-note">{{{openingHymnSession}}}</span>
              <i class="icon ion-ios-arrow-right"></i>
            </a>
            <a id="sacramentHymnItem" class="item item-icon-right" href="{{pathFor 'hymnSelect'}}">
              Sacrament Hymn
              <span class="item-note">{{{sacramentHymnSession}}}</span>
              <i class="icon ion-ios-arrow-right"></i>
            </a>
            <a id="closingHymnItem" class="item item-icon-right" href="{{pathFor 'hymnSelect'}}">
              Closing Hymn
              <span class="item-note">{{{closingHymnSession}}}</span>
              <i class="icon ion-ios-arrow-right"></i>
            </a>
          {{/with}}

          {{#with meetingData}}
            <div class="item item-divider">
              Intermediate Hymn
              <button id="addIntermediateHymnButton" type="button" class="button button-clear button-small pull-right">
                Add
                <span class="icon ion-plus"></span>
              </button>
            </div>
          {{/with}}

          {{#each intermediateHymnData}}
            <div class="list list-inset">
              <a class="item item-icon-right intermediateHymnItem" href="{{pathFor 'hymnSelect'}}">
                Hymn
                <span class="item-note">
                  {{#if hymn.number}}
                    {{hymn.number}} -
                  {{/if}}
                  {{hymn.name}}
                </span>
                <i class="icon ion-ios-arrow-right"></i>
              </a>
              <label class="item item-input item-select">
                <div class="input-label">
                  Performed After Speaker
                </div>
                <select id="{{_id}}" class="intermediateHymnAfterSpeakerSelect">
                  <option {{isSelected afterSpeaker 1}}>1</option>
                  <option {{isSelected afterSpeaker 2}}>2</option>
                  <option {{isSelected afterSpeaker 3}}>3</option>
                  <option {{isSelected afterSpeaker 4}}>4</option>
                  <option {{isSelected afterSpeaker 5}}>5</option>
                  <option {{isSelected afterSpeaker 6}}>6</option>
                </select>
              </label>
              <div class="item item-divider">
                <button type="button" class="button button-clear button-small pull-right removeIntermediateHymnButton">
                  Remove
                  <span class="icon ion-close"></span>
                </button>
              </div>
            </div>
          {{/each}}
<commit_msg>more options<commit_after><template name="meetingEdit">

  {{#if userCanEditMeeting}}

    <div class="bar bar-header bar-light">
      {{> barHeaderLeft leftType="cancel"}}

      {{> barHeaderTitle title="Edit Meeting"}}
      <div class="buttons">
        {{#with meetingData}}
          <a id="doneButton" class="button button-clear pull-right button-positive">
            <strong>Done</strong>
          </a>
        {{/with}}
      </div>
    </div>

    {{#ionView}}
      {{#ionContent}}
        {{#ionList}}
          {{#with meetingData}}
            <label class="item item-input">
              <span class="input-label">Meeting Date</span>
              <input type="date" id="meetingDate" placeholder="Meeting Date" value="{{meetingDate}}">
            </label>

            <div class="item item-divider">
              Notes
            </div>
            <label class="item">
              <textarea id="notes" placeholder="Notes" rows="3">{{notes}}</textarea>
            </label>

            <div class="item item-divider">
              Prayers
            </div>
            <a id="invocationItem" class="item item-icon-right" href="{{pathFor 'memberSelect'}}">
              Invocation
              <span class="item-note">{{{invocationSession}}}</span>
              <i class="icon ion-ios-arrow-right"></i>
            </a>
            <a id="benedictionItem" class="item item-icon-right" href="{{pathFor 'memberSelect'}}">
              Benediction
              <span class="item-note">{{{benedictionSession}}}</span>
              <i class="icon ion-ios-arrow-right"></i>
            </a>

            <div class="item item-divider">
              Administration
            </div>
            <div class="item item-toggle">
               Fast and Testimony
               <label class="toggle toggle-assertive">
                 <input type="checkbox" id="fastAndTestimony" checked="{{isChecked fastAndTestimony}}">
                 <div class="track">
                   <div class="handle"></div>
                 </div>
               </label>
            </div>
            <a id="presidingItem" class="item item-icon-right" href="{{pathFor 'memberSelect'}}">
              Presiding
              <span class="item-note">{{{presidingSession}}}</span>
              <i class="icon ion-ios-arrow-right"></i>
            </a>
            <a id="conductingItem" class="item item-icon-right" href="{{pathFor 'memberSelect'}}">
              Conducting
              <span class="item-note">{{{conductingSession}}}</span>
              <i class="icon ion-ios-arrow-right"></i>
            </a>
            <a id="attendanceItem" class="item item-icon-right" href="{{pathFor 'attendanceSelect'}}">
              Attendance
              <span class="item-note">{{{attendanceSession}}}</span>
              <i class="icon ion-ios-arrow-right"></i>
            </a>

            <div class="item item-divider">
              Music
            </div>
            <a id="organistItem" class="item item-icon-right" href="{{pathFor 'memberSelect'}}">
              Organist
              <span class="item-note">{{{organistSession}}}</span>
              <i class="icon ion-ios-arrow-right"></i>
            </a>
            <a id="choristerItem" class="item item-icon-right" href="{{pathFor 'memberSelect'}}">
              Chorister
              <span class="item-note">{{{choristerSession}}}</span>
              <i class="icon ion-ios-arrow-right"></i>
            </a>
            <a id="openingHymnItem" class="item item-icon-right" href="{{pathFor 'hymnSelect'}}">
              Opening Hymn
              <span class="item-note">{{{openingHymnSession}}}</span>
              <i class="icon ion-ios-arrow-right"></i>
            </a>
            <a id="sacramentHymnItem" class="item item-icon-right" href="{{pathFor 'hymnSelect'}}">
              Sacrament Hymn
              <span class="item-note">{{{sacramentHymnSession}}}</span>
              <i class="icon ion-ios-arrow-right"></i>
            </a>
            <a id="closingHymnItem" class="item item-icon-right" href="{{pathFor 'hymnSelect'}}">
              Closing Hymn
              <span class="item-note">{{{closingHymnSession}}}</span>
              <i class="icon ion-ios-arrow-right"></i>
            </a>
          {{/with}}

          {{#with meetingData}}
            <div class="item item-divider">
              Intermediate Hymn
              <button id="addIntermediateHymnButton" type="button" class="button button-clear button-small pull-right">
                Add
                <span class="icon ion-plus"></span>
              </button>
            </div>
          {{/with}}

          {{#each intermediateHymnData}}
            <div class="list list-inset">
              <a class="item item-icon-right intermediateHymnItem" href="{{pathFor 'hymnSelect'}}">
                Hymn
                <span class="item-note">
                  {{#if hymn.number}}
                    {{hymn.number}} -
                  {{/if}}
                  {{hymn.name}}
                </span>
                <i class="icon ion-ios-arrow-right"></i>
              </a>
              <label class="item item-input item-select">
                <div class="input-label">
                  Performed After Speaker
                </div>
                <select id="{{_id}}" class="intermediateHymnAfterSpeakerSelect">
                  <option {{isSelected afterSpeaker 1}}>01</option>
                  <option {{isSelected afterSpeaker 2}}>02</option>
                  <option {{isSelected afterSpeaker 3}}>03</option>
                  <option {{isSelected afterSpeaker 4}}>04</option>
                  <option {{isSelected afterSpeaker 5}}>05</option>
                  <option {{isSelected afterSpeaker 6}}>06</option>
        				  <option {{isSelected afterSpeaker 7}}>07</option>
        				  <option {{isSelected afterSpeaker 8}}>08</option>
        				  <option {{isSelected afterSpeaker 9}}>09</option>
        				  <option {{isSelected afterSpeaker 10}}>10</option>
        				  <option {{isSelected afterSpeaker 11}}>11</option>
        				  <option {{isSelected afterSpeaker 12}}>12</option>
        				  <option {{isSelected afterSpeaker 13}}>13</option>
        				  <option {{isSelected afterSpeaker 14}}>14</option>
        				  <option {{isSelected afterSpeaker 15}}>15</option>
        				  <option {{isSelected afterSpeaker 16}}>16</option>
        				  <option {{isSelected afterSpeaker 17}}>17</option>
        				  <option {{isSelected afterSpeaker 18}}>18</option>
        				  <option {{isSelected afterSpeaker 19}}>19</option>
        				  <option {{isSelected afterSpeaker 20}}>20</option>
                </select>
              </label>
              <div class="item item-divider">
                <button type="button" class="button button-clear button-small pull-right removeIntermediateHymnButton">
                  Remove
                  <span class="icon ion-close"></span>
                </button>
              </div>
            </div>
          {{/each}}

{'fraction_non_alphanumeric': 0.15564903846153846, 'fraction_numerical': 0.006385216346153846, 'mean_word_length': 1.7202697180220679, 'pattern_counts': {'":': 0, '<': 297, '<?xml version=': 0, '>': 301, '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': '2481021', 'n_tokens_mistral': 3817, 'n_tokens_neox': 3629, 'n_words': 717}