<commit_before><form ng-submit="saveGuest()"class="form-inline guest-form" role="form">
  <div class="form-group">
    <label class="sr-only" for="guestName">Guest Name</label>
    <input ng-model="newGuest.name" type="text" class="form-control" id="guestName" placeholder="Name">
  </div>
  <div class="form-group">
    <label class="sr-only" for="guestAge">Guest Age</label>
    <input ng-model="newGuest.age"type="text" class="form-control" id="guestAge" placeholder="Age">
  </div>
  <div class="form-group">
    <label class="sr-only" for="guestGender">Guest Gender</label>
    <input ng-model="newGuest.gender" type="text" class="form-control" id="guestGender" placeholder="Gender">
  </div>
  <div class="form-group">
    <label class="sr-only" for="City">City</label>
    <input ng-model="newGuest.city" type="text" class="form-control" id="City" placeholder="City">
  </div>
  <div class="form-group">
    <label class="sr-only" for="Country">Country</label>
    <input ng-model="newGuest.country" type="text" class="form-control" id="Country" placeholder="Country">
  </div>
  <button type="submit" class="btn btn-primary">Add Guest</button>
</form>
<div class="guest-list">
<h2>Future Guests</h2>
</div>

<div class="guest-list-table">
<table class="table table-hover">
	<thead>
		<tr>
			<th>Name</th>
			<th>Age</th>
			<th>Gender</th>
			<th>City</th>
			<th>Country</th>
			<th>Actions</th>
		</tr>
	</thead>
	<!-- Angular feature repeterar html-here för alla items i collection -->

	<tr ng-repeat="guest in guests| orderByPriority | filter:{checkedIn:false}">

	<td>
		<div>{{guest.name}}</div>
	</td>
	<td>
		<div>{{guest.age}}</div>
	</td>
	<td>
		<div>{{guest.gender}}</div>
	</td>
	<td>
		<div>{{guest.city}}</div>
	</td>
	<td>	
		<div>{{guest.country}}</div>
	</td>
	<td>
		<!-- <input type="checkbox" ng-model="guest.checkedIn" ng-change="guests.$save(guest.$id)"> -->
		<!-- Indicates a successful or positive action -->
		<button ng-click="checkinGuest(guest)" type="button" class="btn btn-success btn-block">Check in</button>
	</td>

	</tr>
		
</table>
</div>


<div class="guest-list">
<h2>Current Guests</h2>
</div>

<div class="guest-list-table">
<table class="table table-hover span3">
	<thead>
		<tr>
			<th>Name</th>
			<th>Age</th>
			<th>Gender</th>
			<th>City</th>
			<th>Country</th>
			<th>Actions</th>
		</tr>
	</thead>
	<!-- Angular feature repeterar html-here för alla items i collection -->

	<tr ng-repeat="guest in guests| orderByPriority | filter:{checkedIn:true}">

	<td>
		<div>{{guest.name}}</div>
	</td>
	<td>
		<div>{{guest.age}}</div>
	</td>
	<td>
		<div>{{guest.gender}}</div>
	</td>
	<td>
		<div>{{guest.city}}</div>
	</td>
	<td>	
		<div>{{guest.country}}</div>
	</td>
	<td>
		<!-- <input type="checkbox" ng-model="guest.checkedIn" ng-change="guests.$save(guest.$id)"> -->
		<!-- Indicates a successful or positive action -->
		<button ng-click="checkoutGuest(guest)" type="button" class="btn btn-danger btn-block">Check out</button>
	</td>

	</tr>
		
</table>
</div><commit_msg>leker med guestlist<commit_after><form ng-submit="saveGuest()"class="form-inline guest-form" role="form">
  <div class="form-group">
    <label class="sr-only" for="guestName">Guest Name</label>
    <input ng-model="newGuest.name" type="text" class="form-control" id="guestName" placeholder="Name">
  </div>
  <div class="form-group">
    <label class="sr-only" for="guestAge">Guest Age</label>
    <input ng-model="newGuest.age"type="text" class="form-control" id="guestAge" placeholder="Age">
  </div>
  <div class="form-group">
    <label class="sr-only" for="guestGender">Guest Gender</label>
    <input ng-model="newGuest.gender" type="text" class="form-control" id="guestGender" placeholder="Gender">
  </div>
  <div class="form-group">
    <label class="sr-only" for="City">City</label>
    <input ng-model="newGuest.city" type="text" class="form-control" id="City" placeholder="City">
  </div>
  <div class="form-group">
    <label class="sr-only" for="Country">Country</label>
    <input ng-model="newGuest.country" type="text" class="form-control" id="Country" placeholder="Country">
  </div>
  <button type="submit" class="btn btn-primary">Add Guest</button>
</form>
<div class="guest-list">
<h2>Future Guests</h2>
</div>

<div class="guest-list-table">
<table class="table table-hover">
	<thead>
		<tr>
			<th>Name</th>
			<th>Age</th>
			<th>Gender</th>
			<th>City</th>
			<th>Country</th>
			<th>Actions</th>
		</tr>
	</thead>
	<!-- Angular feature repeterar html-here för alla items i collection -->

	<tr ng-repeat="guest in guests| orderByPriority | filter:{checkedIn:false}">

	<td>
		<div>{{guest.name}}</div>
	</td>
	<td>
		<div>{{guest.age}}</div>
	</td>
	<td>
		<div>{{guest.gender}}</div>
	</td>
	<td>
		<div>{{guest.city}}</div>
	</td>
	<td>	
		<div>{{guest.country}}</div>
	</td>
	<td>
		<!-- <input type="checkbox" ng-model="guest.checkedIn" ng-change="guests.$save(guest.$id)"> -->
		<!-- Indicates a successful or positive action -->
		<button ng-click="checkinGuest(guest)" type="button" class="btn btn-success btn-block">Check in</button>
	</td>

	</tr>
		
</table>
</div>


<div class="guest-list">
<h2>Current Guests</h2>
</div>

<div class="guest-list-table">
<table class="table table-hover span3">
	<thead>
		<tr>
			<th>Name</th>
			<th>Age</th>
			<th>Gender</th>
			<th>City</th>
			<th>Country</th>
			<th>Actions</th>
		</tr>
	</thead>
	<!-- Angular feature repeterar html-here för alla items i collection -->

	<tr ng-repeat="guest in guests| orderByPriority | filter:{checkedIn:true}">

	<td>
		<div>{{guest.name}}</div>
	</td>
	<td>
		<div>{{guest.age}}</div>
	</td>
	<td>
		<div>{{guest.gender}}</div>
	</td>
	<td>
		<div>{{guest.city}}</div>
	</td>
	<td>	
		<div>{{guest.country}}</div>
	</td>
	<td>
		<!-- <input type="checkbox" ng-model="guest.checkedIn" ng-change="guests.$save(guest.$id)"> -->
		<!-- Indicates a successful or positive action -->
		<button ng-click="checkoutGuest(guest)" type="button" class="btn btn-danger btn-block">Check out</button>
	</td>

	</tr>
		
</table>
</div>


<!-- Button trigger modal -->
<button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal">
  Launch demo modal
</button>

<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="myModalLabel">{{guest.name}}</h4>
      </div>

      <div class="modal-body">
      	<div>Info:</div>
		<div>{{guest.age}}</div>
		<div>{{guest.gender}}</div>
		<div>{{guest.city}}</div>
		<div>{{guest.country}}</div>
      </div>

      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
        <button type="button" class="btn btn-primary">Save changes</button>
      </div>
    </div>
  </div>
</div>
{'fraction_non_alphanumeric': 0.22857948139797069, 'fraction_numerical': 0.0018320180383314543, 'mean_word_length': 4.191660570592538, 'pattern_counts': {'":': 0, '<': 313, '<?xml version=': 0, '>': 313, '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': '3597359', 'n_tokens_mistral': 2872, 'n_tokens_neox': 2635, 'n_words': 498}