<|start_filename|>app/views/admin/customer/rentalRowBulkForm.scala.html<|end_filename|>
@* Generated File *@
@(cfg: com.kyleu.projectile.models.config.UiConfig, modelSeq: Seq[models.customer.RentalRow], act: Call, debug: Boolean)(
    implicit request: Request[AnyContent], flash: Flash
)
@add() = {
  <div class="right"><button type="submit" class="btn @cfg.user.buttonColor" form="pks">Add</button></div>
  <div class="right"><input id="new-pks" name="new-pks" type="text" placeholder="Primary keys" form="pks" /></div>
}
@com.kyleu.projectile.views.html.layout.page(title = "Bulk Edit", cfg = cfg, icon = Some(models.template.Icons.rentalRow)) {
  <form id="pks" onsubmit="bulk.addPk($('#new-pks').val());return false;"></form>
  <form id="form-edit-rentalRow" action="@act" method="post">
    <input type="hidden" class="primaryKeys" name="primaryKeys" value="@modelSeq.map(m => m.rentalId).mkString("//")" />
    @com.kyleu.projectile.views.html.layout.card(Some("Selected Rentals"), right = Some(add())) {
      <table id="bulk-rows">
        <thead>
          <tr>
            <th>Rental Id</th>
            <th>Rental Date</th>
            <th>Inventory Id</th>
            <th>Customer Id</th>
            <th>Return Date</th>
            <th>Staff Id</th>
            <th></th>
          </tr>
        </thead>
        <tbody>
          @modelSeq.map { model =>
            @rentalRowDataRow(model, Some(Html(s"<td style='text-align: right;'><a class='remove-pk' data-pk='${model.rentalId}' href='' title='Remove from editing'><i class='material-icons'>close</i></a></td>")))
          }
        </tbody>
      </table>
    }
    @com.kyleu.projectile.views.html.layout.card(None) {
      <table>
        <tbody>
          @com.kyleu.projectile.views.html.components.form.zonedDateTimeField(selected = request.queryString.isDefinedAt("rentalDate"), key = "rentalDate", title = "Rental Date", value = request.queryString.get("rentalDate").flatMap(_.headOption).map(s => com.kyleu.projectile.util.DateUtils.fromIsoStringZoned(s)).orElse(None), nullable = false)
          @com.kyleu.projectile.views.html.components.form.autocompleteField(
            selected = request.queryString.isDefinedAt("inventoryId"), key = "inventoryId", title = "Inventory Id", value = request.queryString.get("inventoryId").flatMap(_.headOption).orElse(None), nullable = false, dataType = "long",
            call = controllers.admin.store.routes.InventoryRowController.autocomplete(), acType = ("inventoryRow", "Inventory"), icon = models.template.Icons.inventoryRow, inputType = "text"
          )
          @com.kyleu.projectile.views.html.components.form.autocompleteField(
            selected = request.queryString.isDefinedAt("customerId"), key = "customerId", title = "Customer Id", value = request.queryString.get("customerId").flatMap(_.headOption).orElse(None), nullable = false, dataType = "integer",
            call = controllers.admin.customer.routes.CustomerRowController.autocomplete(), acType = ("customerRow", "Customer"), icon = models.template.Icons.customerRow, inputType = "text"
          )
          @com.kyleu.projectile.views.html.components.form.zonedDateTimeField(selected = request.queryString.isDefinedAt("returnDate"), key = "returnDate", title = "Return Date", value = request.queryString.get("returnDate").flatMap(_.headOption).map(s => com.kyleu.projectile.util.DateUtils.fromIsoStringZoned(s)).orElse(None), nullable = true)
          @com.kyleu.projectile.views.html.components.form.autocompleteField(
            selected = request.queryString.isDefinedAt("staffId"), key = "staffId", title = "Staff Id", value = request.queryString.get("staffId").flatMap(_.headOption).orElse(None), nullable = false, dataType = "integer",
            call = controllers.admin.store.routes.StaffRowController.autocomplete(), acType = ("staffRow", "Staff"), icon = models.template.Icons.staffRow, inputType = "text"
          )
          @com.kyleu.projectile.views.html.components.form.zonedDateTimeField(selected = request.queryString.isDefinedAt("lastUpdate"), key = "lastUpdate", title = "Last Update", value = request.queryString.get("lastUpdate").flatMap(_.headOption).map(s => com.kyleu.projectile.util.DateUtils.fromIsoStringZoned(s)).orElse(None), nullable = false)
        </tbody>
      </table>
      <br />
      <div class="right"><button type="submit" class="btn @cfg.user.buttonColor">Save <span>@modelSeq.size</span> Rentals</button></div>
      <div class="right"><a href="" onclick="window.history.go(-1);return false;" class="btn-flat cancel-link">Cancel</a></div>
      <div class="clear"></div>
    }
  </form>
}
@com.kyleu.projectile.views.html.components.includeScalaJs(debug)
@com.kyleu.projectile.views.html.components.includeAutocomplete(debug)
<script>
  $(function() { new FormService('form-edit-rentalRow'); });
  var bulk;
  $(function() { bulk = new BulkEditService('form-edit-rentalRow', 6); });
</script>


<|start_filename|>app/views/admin/film/filmRowBulkForm.scala.html<|end_filename|>
@* Generated File *@
@(cfg: com.kyleu.projectile.models.config.UiConfig, modelSeq: Seq[models.film.FilmRow], act: Call, debug: Boolean)(
    implicit request: Request[AnyContent], flash: Flash
)
@add() = {
  <div class="right"><button type="submit" class="btn @cfg.user.buttonColor" form="pks">Add</button></div>
  <div class="right"><input id="new-pks" name="new-pks" type="text" placeholder="Primary keys" form="pks" /></div>
}
@com.kyleu.projectile.views.html.layout.page(title = "Bulk Edit", cfg = cfg, icon = Some(models.template.Icons.filmRow)) {
  <form id="pks" onsubmit="bulk.addPk($('#new-pks').val());return false;"></form>
  <form id="form-edit-filmRow" action="@act" method="post">
    <input type="hidden" class="primaryKeys" name="primaryKeys" value="@modelSeq.map(m => m.filmId).mkString("//")" />
    @com.kyleu.projectile.views.html.layout.card(Some("Selected Films"), right = Some(add())) {
      <table id="bulk-rows">
        <thead>
          <tr>
            <th>Film Id</th>
            <th>Title</th>
            <th>Release Year</th>
            <th>Language Id</th>
            <th>Original Language Id</th>
            <th>Rental Duration</th>
            <th>Rental Rate</th>
            <th>Length</th>
            <th>Rating</th>
            <th>Last Update</th>
            <th>Fulltext</th>
            <th></th>
          </tr>
        </thead>
        <tbody>
          @modelSeq.map { model =>
            @filmRowDataRow(model, Some(Html(s"<td style='text-align: right;'><a class='remove-pk' data-pk='${model.filmId}' href='' title='Remove from editing'><i class='material-icons'>close</i></a></td>")))
          }
        </tbody>
      </table>
    }
    @com.kyleu.projectile.views.html.layout.card(None) {
      <table>
        <tbody>
          @com.kyleu.projectile.views.html.components.form.textField(selected = request.queryString.isDefinedAt("title"), key = "title", title = "Title", value = request.queryString.get("title").flatMap(_.headOption).orElse(None), nullable = false)
          @com.kyleu.projectile.views.html.components.form.textField(selected = request.queryString.isDefinedAt("description"), key = "description", title = "Description", value = request.queryString.get("description").flatMap(_.headOption).orElse(None), nullable = true)
          @com.kyleu.projectile.views.html.components.form.longField(selected = request.queryString.isDefinedAt("releaseYear"), key = "releaseYear", title = "Release Year", value = request.queryString.get("releaseYear").flatMap(_.headOption).map(s => s.toLong).orElse(None), nullable = true)
          @com.kyleu.projectile.views.html.components.form.autocompleteField(
            selected = request.queryString.isDefinedAt("languageId"), key = "languageId", title = "Language Id", value = request.queryString.get("languageId").flatMap(_.headOption).orElse(None), nullable = false, dataType = "integer",
            call = controllers.admin.customer.routes.LanguageRowController.autocomplete(), acType = ("languageRow", "Language"), icon = models.template.Icons.languageRow, inputType = "text"
          )
          @com.kyleu.projectile.views.html.components.form.autocompleteField(
            selected = request.queryString.isDefinedAt("originalLanguageId"), key = "originalLanguageId", title = "Original Language Id", value = request.queryString.get("originalLanguageId").flatMap(_.headOption).orElse(None), nullable = true, dataType = "integer",
            call = controllers.admin.customer.routes.LanguageRowController.autocomplete(), acType = ("languageRow", "Language"), icon = models.template.Icons.languageRow, inputType = "text"
          )
          @com.kyleu.projectile.views.html.components.form.intField(selected = request.queryString.isDefinedAt("rentalDuration"), key = "rentalDuration", title = "Rental Duration", value = request.queryString.get("rentalDuration").flatMap(_.headOption).map(s => s.toInt).orElse(None), nullable = false)
          @com.kyleu.projectile.views.html.components.form.decimalField(selected = request.queryString.isDefinedAt("rentalRate"), key = "rentalRate", title = "Rental Rate", value = request.queryString.get("rentalRate").flatMap(_.headOption).map(s => BigDecimal(s)).orElse(None), nullable = false)
          @com.kyleu.projectile.views.html.components.form.intField(selected = request.queryString.isDefinedAt("length"), key = "length", title = "Length", value = request.queryString.get("length").flatMap(_.headOption).map(s => s.toInt).orElse(None), nullable = true)
          @com.kyleu.projectile.views.html.components.form.decimalField(selected = request.queryString.isDefinedAt("replacementCost"), key = "replacementCost", title = "Replacement Cost", value = request.queryString.get("replacementCost").flatMap(_.headOption).map(s => BigDecimal(s)).orElse(None), nullable = false)
          @com.kyleu.projectile.views.html.components.form.selectField(selected = request.queryString.isDefinedAt("rating"), key = "rating", title = "Rating", value = request.queryString.get("rating").flatMap(_.headOption).orElse(None), nullable = true, options = Seq("G" -> "G", "PG" -> "PG", "PG13" -> "PG13", "R" -> "R", "NC17" -> "NC17"), dataType = "mpaa_rating")
          @com.kyleu.projectile.views.html.components.form.zonedDateTimeField(selected = request.queryString.isDefinedAt("lastUpdate"), key = "lastUpdate", title = "Last Update", value = request.queryString.get("lastUpdate").flatMap(_.headOption).map(s => com.kyleu.projectile.util.DateUtils.fromIsoStringZoned(s)).orElse(None), nullable = false)
          @com.kyleu.projectile.views.html.components.form.collectionField(selected = request.queryString.isDefinedAt("specialFeatures"), key = "specialFeatures", title = "Special Features", value = request.queryString.get("specialFeatures").flatMap(_.headOption).map(s => s.split(",").toList).orElse(None), nullable = true)
          @com.kyleu.projectile.views.html.components.form.textField(selected = request.queryString.isDefinedAt("fulltext"), key = "fulltext", title = "Fulltext", value = request.queryString.get("fulltext").flatMap(_.headOption).orElse(None), nullable = false)
        </tbody>
      </table>
      <br />
      <div class="right"><button type="submit" class="btn @cfg.user.buttonColor">Save <span>@modelSeq.size</span> Films</button></div>
      <div class="right"><a href="" onclick="window.history.go(-1);return false;" class="btn-flat cancel-link">Cancel</a></div>
      <div class="clear"></div>
    }
  </form>
}
@com.kyleu.projectile.views.html.components.includeScalaJs(debug)
@com.kyleu.projectile.views.html.components.includeAutocomplete(debug)
@com.kyleu.projectile.views.html.components.includeTagEditor(debug)
<script>
  $(function() { new FormService('form-edit-filmRow'); });
  var bulk;
  $(function() { bulk = new BulkEditService('form-edit-filmRow', 11); });
</script>


<|start_filename|>app/views/admin/customer/customerRowSearchResult.scala.html<|end_filename|>
@* Generated File *@
@(model: models.customer.CustomerRow, hit: String)<div class="search-result">
  <div class="right">
    <i class="material-icons small">@models.template.Icons.customerRow</i> Customer
  </div>
  <div>
    <a href="@controllers.admin.customer.routes.CustomerRowController.view(model.customerId)">@model.customerId</a>
  </div>
  <em>@hit</em>
  <div style="margin-top: 12px;">
    <div class="chip">Store Id: @model.storeId</div>
    <div class="chip">First Name: @model.firstName</div>
    <div class="chip">Last Name: @model.lastName</div>
    <div class="chip">Email: @model.email</div>
    <div class="chip">Address Id: @model.addressId</div>
    <div class="chip">Create Date: @model.createDate</div>
  </div>
</div>


<|start_filename|>app/views/admin/film/filmCategoryRowSearchResult.scala.html<|end_filename|>
@* Generated File *@
@(model: models.film.FilmCategoryRow, hit: String)<div class="search-result">
  <div class="right">
    <i class="material-icons small">@models.template.Icons.filmCategoryRow</i> Film Category
  </div>
  <div>
    <a href="@controllers.admin.film.routes.FilmCategoryRowController.view(model.filmId, model.categoryId)">@model.filmId, @model.categoryId</a>
  </div>
  <em>@hit</em>
  <div style="margin-top: 12px;">
    <div class="chip">Last Update: @model.lastUpdate</div>
  </div>
</div>


<|start_filename|>app/views/admin/address/countryRowView.scala.html<|end_filename|>
@* Generated File *@
@(
    cfg: com.kyleu.projectile.models.config.UiConfig,
    model: models.address.CountryRow,
    notes: Seq[com.kyleu.projectile.models.note.Note],
    debug: Boolean
)(
    implicit request: Request[AnyContent], session: Session, flash: Flash, td: com.kyleu.projectile.util.tracing.TraceData
)@com.kyleu.projectile.views.html.layout.page(title = s"Country", cfg = cfg, icon = Some(models.template.Icons.countryRow)) {
  @com.kyleu.projectile.services.augment.AugmentService.viewHeaders.augment(model, request.queryString, cfg)
  @com.kyleu.projectile.views.html.layout.card(None) {
    <div class="right"><a class="btn @cfg.user.buttonColor" href="@controllers.admin.address.routes.CountryRowController.editForm(model.countryId)">Edit</a></div>
    <div class="right"><a class="btn-flat remove-link" onclick="return confirm('Are you sure you want to remove this Country?')" href="@controllers.admin.address.routes.CountryRowController.remove(model.countryId)">Remove</a></div>
    <table class="highlight responsive-table">
      <tbody>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.countryId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Country Id</div></th>
          <td>@model.countryId</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.country.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Country</div></th>
          <td>@model.country</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.lastUpdate.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Last Update</div></th>
          <td>@model.lastUpdate</td>
        </tr>
      </tbody>
    </table>
  }
  @com.kyleu.projectile.services.augment.AugmentService.viewDetails.augment(model, request.queryString, cfg)
  @com.kyleu.projectile.views.html.admin.note.notes(cfg, notes, "CountryRow", "Country", model.countryId)

  <ul id="model-relations" class="collapsible" data-collapsible="expandable">
    <li id="relation-cityRow-countryId" data-table="cityRow" data-field="countryId" data-singular="City" data-plural="Cities" data-url="@controllers.admin.address.routes.CityRowController.byCountryId(model.countryId, limit = Some(5), embedded = true)">
      <div class="collapsible-header">
        <i class="material-icons small">@models.template.Icons.cityRow</i>
        <span class="title">Cities</span>&nbsp;by Country Id
        <span class="badge" style="display: none;">
          <a class="bulk-edit-link" title="Bulk edit" href="@controllers.admin.address.routes.CityRowController.byCountryIdBulkForm(model.countryId)"><i class="material-icons" style="margin-right: 0;">edit</i></a>
          <a class="view-relation-link" title="View these Cities" href="@controllers.admin.address.routes.CityRowController.byCountryId(model.countryId)"><i class="material-icons" style="margin-right: 0;">insert_link</i></a>
        </span>
      </div>
      <div class="collapsible-body"><span>Loading...</span></div>
    </li>
  </ul>
  <script>$(function() { new RelationService('@controllers.admin.address.routes.CountryRowController.relationCounts(model.countryId)') });</script>

  @com.kyleu.projectile.views.html.components.includeScalaJs(debug)
}


<|start_filename|>app/views/admin/store/inventoryRowSearchResult.scala.html<|end_filename|>
@* Generated File *@
@(model: models.store.InventoryRow, hit: String)<div class="search-result">
  <div class="right">
    <i class="material-icons small">@models.template.Icons.inventoryRow</i> Inventory
  </div>
  <div>
    <a href="@controllers.admin.store.routes.InventoryRowController.view(model.inventoryId)">@model.inventoryId</a>
  </div>
  <em>@hit</em>
  <div style="margin-top: 12px;">
    <div class="chip">Film Id: @model.filmId</div>
    <div class="chip">Store Id: @model.storeId</div>
  </div>
</div>


<|start_filename|>app/views/admin/payment/paymentRowSearchResult.scala.html<|end_filename|>
@* Generated File *@
@(model: models.payment.PaymentRow, hit: String)<div class="search-result">
  <div class="right">
    <i class="material-icons small">@models.template.Icons.paymentRow</i> Payment
  </div>
  <div>
    <a href="@controllers.admin.payment.routes.PaymentRowController.view(model.paymentId)">@model.paymentId</a>
  </div>
  <em>@hit</em>
  <div style="margin-top: 12px;">
    <div class="chip">Customer Id: @model.customerId</div>
    <div class="chip">Staff Id: @model.staffId</div>
    <div class="chip">Rental Id: @model.rentalId</div>
    <div class="chip">Amount: @model.amount</div>
  </div>
</div>


<|start_filename|>app/views/admin/film/categoryRowDataRow.scala.html<|end_filename|>
@* Generated File *@
@(model: models.film.CategoryRow, additional: Option[Html] = None)<tr>
  <td>
    <a href="@controllers.admin.film.routes.CategoryRowController.view(model.categoryId)">@model.categoryId</a>
  </td>
  <td>
    @model.name
  </td>
  <td>
    @model.lastUpdate
  </td>
  @additional
</tr>


<|start_filename|>app/views/admin/store/storeRowDataRow.scala.html<|end_filename|>
@* Generated File *@
@(model: models.store.StoreRow, additional: Option[Html] = None)<tr>
  <td>
    <a href="@controllers.admin.store.routes.StoreRowController.view(model.storeId)">@model.storeId</a>
  </td>
  <td>
    @model.managerStaffId
  </td>
  <td>
    @model.addressId
    <a href="@controllers.admin.address.routes.AddressRowController.view(model.addressId)">
      <i class="material-icons small">@models.template.Icons.addressRow</i>
    </a>
  </td>
  <td>
    @model.lastUpdate
  </td>
  @additional
</tr>


<|start_filename|>app/views/admin/address/cityRowView.scala.html<|end_filename|>
@* Generated File *@
@(
    cfg: com.kyleu.projectile.models.config.UiConfig,
    model: models.address.CityRow,
    notes: Seq[com.kyleu.projectile.models.note.Note],
    countryIdR: Option[models.address.CountryRow],
    debug: Boolean
)(
    implicit request: Request[AnyContent], session: Session, flash: Flash, td: com.kyleu.projectile.util.tracing.TraceData
)@com.kyleu.projectile.views.html.layout.page(title = s"City", cfg = cfg, icon = Some(models.template.Icons.cityRow)) {
  @com.kyleu.projectile.services.augment.AugmentService.viewHeaders.augment(model, request.queryString, cfg)
  @com.kyleu.projectile.views.html.layout.card(None) {
    <div class="right"><a class="btn @cfg.user.buttonColor" href="@controllers.admin.address.routes.CityRowController.editForm(model.cityId)">Edit</a></div>
    <div class="right"><a class="btn-flat remove-link" onclick="return confirm('Are you sure you want to remove this City?')" href="@controllers.admin.address.routes.CityRowController.remove(model.cityId)">Remove</a></div>
    <table class="highlight responsive-table">
      <tbody>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.cityId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">City Id</div></th>
          <td>@model.cityId</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.city.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">City</div></th>
          <td>@model.city</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.countryId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Country Id</div></th>
          <td>
            <div>
              @model.countryId
            </div>
            @countryIdR.map { r =>
              <div class="card-panel grey lighten-5" style="padding: 12px; margin: 12px 0 0 0;">
                <div>
                  <a href="@controllers.admin.address.routes.CountryRowController.view(model.countryId)">
                    <i class="material-icons small">@models.template.Icons.countryRow</i> <strong>Country</string>
                  </a>
                </div>
                @com.kyleu.projectile.views.html.components.dataSummary(r.toSummary)
              </div>
            }
          </td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.lastUpdate.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Last Update</div></th>
          <td>@model.lastUpdate</td>
        </tr>
      </tbody>
    </table>
  }
  @com.kyleu.projectile.services.augment.AugmentService.viewDetails.augment(model, request.queryString, cfg)
  @com.kyleu.projectile.views.html.admin.note.notes(cfg, notes, "CityRow", "City", model.cityId)

  <ul id="model-relations" class="collapsible" data-collapsible="expandable">
    <li id="relation-addressRow-cityId" data-table="addressRow" data-field="cityId" data-singular="Address" data-plural="Addresses" data-url="@controllers.admin.address.routes.AddressRowController.byCityId(model.cityId, limit = Some(5), embedded = true)">
      <div class="collapsible-header">
        <i class="material-icons small">@models.template.Icons.addressRow</i>
        <span class="title">Addresses</span>&nbsp;by City Id
        <span class="badge" style="display: none;">
          <a class="bulk-edit-link" title="Bulk edit" href="@controllers.admin.address.routes.AddressRowController.byCityIdBulkForm(model.cityId)"><i class="material-icons" style="margin-right: 0;">edit</i></a>
          <a class="view-relation-link" title="View these Addresses" href="@controllers.admin.address.routes.AddressRowController.byCityId(model.cityId)"><i class="material-icons" style="margin-right: 0;">insert_link</i></a>
        </span>
      </div>
      <div class="collapsible-body"><span>Loading...</span></div>
    </li>
  </ul>
  <script>$(function() { new RelationService('@controllers.admin.address.routes.CityRowController.relationCounts(model.cityId)') });</script>

  @com.kyleu.projectile.views.html.components.includeScalaJs(debug)
}


<|start_filename|>app/views/admin/store/staffRowBulkForm.scala.html<|end_filename|>
@* Generated File *@
@(cfg: com.kyleu.projectile.models.config.UiConfig, modelSeq: Seq[models.store.StaffRow], act: Call, debug: Boolean)(
    implicit request: Request[AnyContent], flash: Flash
)
@add() = {
  <div class="right"><button type="submit" class="btn @cfg.user.buttonColor" form="pks">Add</button></div>
  <div class="right"><input id="new-pks" name="new-pks" type="text" placeholder="Primary keys" form="pks" /></div>
}
@com.kyleu.projectile.views.html.layout.page(title = "Bulk Edit", cfg = cfg, icon = Some(models.template.Icons.staffRow)) {
  <form id="pks" onsubmit="bulk.addPk($('#new-pks').val());return false;"></form>
  <form id="form-edit-staffRow" action="@act" method="post">
    <input type="hidden" class="primaryKeys" name="primaryKeys" value="@modelSeq.map(m => m.staffId).mkString("//")" />
    @com.kyleu.projectile.views.html.layout.card(Some("Selected Staff"), right = Some(add())) {
      <table id="bulk-rows">
        <thead>
          <tr>
            <th>Staff Id</th>
            <th>First Name</th>
            <th>Last Name</th>
            <th>Address Id</th>
            <th>Email</th>
            <th>Store Id</th>
            <th>Username</th>
            <th></th>
          </tr>
        </thead>
        <tbody>
          @modelSeq.map { model =>
            @staffRowDataRow(model, Some(Html(s"<td style='text-align: right;'><a class='remove-pk' data-pk='${model.staffId}' href='' title='Remove from editing'><i class='material-icons'>close</i></a></td>")))
          }
        </tbody>
      </table>
    }
    @com.kyleu.projectile.views.html.layout.card(None) {
      <table>
        <tbody>
          @com.kyleu.projectile.views.html.components.form.textField(selected = request.queryString.isDefinedAt("firstName"), key = "firstName", title = "<NAME>", value = request.queryString.get("firstName").flatMap(_.headOption).orElse(None), nullable = false)
          @com.kyleu.projectile.views.html.components.form.textField(selected = request.queryString.isDefinedAt("lastName"), key = "lastName", title = "<NAME>", value = request.queryString.get("lastName").flatMap(_.headOption).orElse(None), nullable = false)
          @com.kyleu.projectile.views.html.components.form.autocompleteField(
            selected = request.queryString.isDefinedAt("addressId"), key = "addressId", title = "Address Id", value = request.queryString.get("addressId").flatMap(_.headOption).orElse(None), nullable = false, dataType = "integer",
            call = controllers.admin.address.routes.AddressRowController.autocomplete(), acType = ("addressRow", "Address"), icon = models.template.Icons.addressRow, inputType = "text"
          )
          @com.kyleu.projectile.views.html.components.form.textField(selected = request.queryString.isDefinedAt("email"), key = "email", title = "Email", value = request.queryString.get("email").flatMap(_.headOption).orElse(None), nullable = true)
          @com.kyleu.projectile.views.html.components.form.autocompleteField(
            selected = request.queryString.isDefinedAt("storeId"), key = "storeId", title = "Store Id", value = request.queryString.get("storeId").flatMap(_.headOption).orElse(None), nullable = false, dataType = "integer",
            call = controllers.admin.store.routes.StoreRowController.autocomplete(), acType = ("storeRow", "Store"), icon = models.template.Icons.storeRow, inputType = "text"
          )
          @com.kyleu.projectile.views.html.components.form.booleanField(selected = request.queryString.isDefinedAt("active"), key = "active", title = "Active", value = request.queryString.get("active").flatMap(_.headOption).map(s => s == "true").orElse(None), nullable = false)
          @com.kyleu.projectile.views.html.components.form.textField(selected = request.queryString.isDefinedAt("username"), key = "username", title = "Username", value = request.queryString.get("username").flatMap(_.headOption).orElse(None), nullable = false)
          @com.kyleu.projectile.views.html.components.form.textField(selected = request.queryString.isDefinedAt("password"), key = "password", title = "Password", value = request.queryString.get("password").flatMap(_.headOption).orElse(None), nullable = true)
          @com.kyleu.projectile.views.html.components.form.zonedDateTimeField(selected = request.queryString.isDefinedAt("lastUpdate"), key = "lastUpdate", title = "Last Update", value = request.queryString.get("lastUpdate").flatMap(_.headOption).map(s => com.kyleu.projectile.util.DateUtils.fromIsoStringZoned(s)).orElse(None), nullable = false)
          @com.kyleu.projectile.views.html.components.form.byteArrayField(selected = request.queryString.isDefinedAt("picture"), key = "picture", title = "Picture", value = request.queryString.get("picture").flatMap(_.headOption).map(s => s.split(",").map(_.toInt.toByte)).orElse(None), nullable = true)
        </tbody>
      </table>
      <br />
      <div class="right"><button type="submit" class="btn @cfg.user.buttonColor">Save <span>@modelSeq.size</span> Staff</button></div>
      <div class="right"><a href="" onclick="window.history.go(-1);return false;" class="btn-flat cancel-link">Cancel</a></div>
      <div class="clear"></div>
    }
  </form>
}
@com.kyleu.projectile.views.html.components.includeScalaJs(debug)
@com.kyleu.projectile.views.html.components.includeAutocomplete(debug)
<script>
  $(function() { new FormService('form-edit-staffRow'); });
  var bulk;
  $(function() { bulk = new BulkEditService('form-edit-staffRow', 7); });
</script>


<|start_filename|>app/views/admin/payment/paymentRowBulkForm.scala.html<|end_filename|>
@* Generated File *@
@(cfg: com.kyleu.projectile.models.config.UiConfig, modelSeq: Seq[models.payment.PaymentRow], act: Call, debug: Boolean)(
    implicit request: Request[AnyContent], flash: Flash
)
@add() = {
  <div class="right"><button type="submit" class="btn @cfg.user.buttonColor" form="pks">Add</button></div>
  <div class="right"><input id="new-pks" name="new-pks" type="text" placeholder="Primary keys" form="pks" /></div>
}
@com.kyleu.projectile.views.html.layout.page(title = "Bulk Edit", cfg = cfg, icon = Some(models.template.Icons.paymentRow)) {
  <form id="pks" onsubmit="bulk.addPk($('#new-pks').val());return false;"></form>
  <form id="form-edit-paymentRow" action="@act" method="post">
    <input type="hidden" class="primaryKeys" name="primaryKeys" value="@modelSeq.map(m => m.paymentId).mkString("//")" />
    @com.kyleu.projectile.views.html.layout.card(Some("Selected Payments"), right = Some(add())) {
      <table id="bulk-rows">
        <thead>
          <tr>
            <th>Payment Id</th>
            <th>Customer Id</th>
            <th>Staff Id</th>
            <th>Rental Id</th>
            <th>Amount</th>
            <th></th>
          </tr>
        </thead>
        <tbody>
          @modelSeq.map { model =>
            @paymentRowDataRow(model, Some(Html(s"<td style='text-align: right;'><a class='remove-pk' data-pk='${model.paymentId}' href='' title='Remove from editing'><i class='material-icons'>close</i></a></td>")))
          }
        </tbody>
      </table>
    }
    @com.kyleu.projectile.views.html.layout.card(None) {
      <table>
        <tbody>
          @com.kyleu.projectile.views.html.components.form.autocompleteField(
            selected = request.queryString.isDefinedAt("customerId"), key = "customerId", title = "Customer Id", value = request.queryString.get("customerId").flatMap(_.headOption).orElse(None), nullable = false, dataType = "integer",
            call = controllers.admin.customer.routes.CustomerRowController.autocomplete(), acType = ("customerRow", "Customer"), icon = models.template.Icons.customerRow, inputType = "text"
          )
          @com.kyleu.projectile.views.html.components.form.autocompleteField(
            selected = request.queryString.isDefinedAt("staffId"), key = "staffId", title = "Staff Id", value = request.queryString.get("staffId").flatMap(_.headOption).orElse(None), nullable = false, dataType = "integer",
            call = controllers.admin.store.routes.StaffRowController.autocomplete(), acType = ("staffRow", "Staff"), icon = models.template.Icons.staffRow, inputType = "text"
          )
          @com.kyleu.projectile.views.html.components.form.autocompleteField(
            selected = request.queryString.isDefinedAt("rentalId"), key = "rentalId", title = "Rental Id", value = request.queryString.get("rentalId").flatMap(_.headOption).orElse(None), nullable = false, dataType = "long",
            call = controllers.admin.customer.routes.RentalRowController.autocomplete(), acType = ("rentalRow", "Rental"), icon = models.template.Icons.rentalRow, inputType = "text"
          )
          @com.kyleu.projectile.views.html.components.form.decimalField(selected = request.queryString.isDefinedAt("amount"), key = "amount", title = "Amount", value = request.queryString.get("amount").flatMap(_.headOption).map(s => BigDecimal(s)).orElse(None), nullable = false)
          @com.kyleu.projectile.views.html.components.form.zonedDateTimeField(selected = request.queryString.isDefinedAt("paymentDate"), key = "paymentDate", title = "Payment Date", value = request.queryString.get("paymentDate").flatMap(_.headOption).map(s => com.kyleu.projectile.util.DateUtils.fromIsoStringZoned(s)).orElse(None), nullable = false)
        </tbody>
      </table>
      <br />
      <div class="right"><button type="submit" class="btn @cfg.user.buttonColor">Save <span>@modelSeq.size</span> Payments</button></div>
      <div class="right"><a href="" onclick="window.history.go(-1);return false;" class="btn-flat cancel-link">Cancel</a></div>
      <div class="clear"></div>
    }
  </form>
}
@com.kyleu.projectile.views.html.components.includeScalaJs(debug)
@com.kyleu.projectile.views.html.components.includeAutocomplete(debug)
<script>
  $(function() { new FormService('form-edit-paymentRow'); });
  var bulk;
  $(function() { bulk = new BulkEditService('form-edit-paymentRow', 5); });
</script>


<|start_filename|>app/views/admin/store/staffRowDataRow.scala.html<|end_filename|>
@* Generated File *@
@(model: models.store.StaffRow, additional: Option[Html] = None)<tr>
  <td>
    <a href="@controllers.admin.store.routes.StaffRowController.view(model.staffId)">@model.staffId</a>
  </td>
  <td>
    @model.firstName
  </td>
  <td>
    @model.lastName
  </td>
  <td>
    @model.addressId
    <a href="@controllers.admin.address.routes.AddressRowController.view(model.addressId)">
      <i class="material-icons small">@models.template.Icons.addressRow</i>
    </a>
  </td>
  <td>
    @model.email
  </td>
  <td>
    @model.storeId
    <a href="@controllers.admin.store.routes.StoreRowController.view(model.storeId)">
      <i class="material-icons small">@models.template.Icons.storeRow</i>
    </a>
  </td>
  <td>
    @model.username
  </td>
  @additional
</tr>


<|start_filename|>app/views/admin/store/storeRowSearchResult.scala.html<|end_filename|>
@* Generated File *@
@(model: models.store.StoreRow, hit: String)<div class="search-result">
  <div class="right">
    <i class="material-icons small">@models.template.Icons.storeRow</i> Store
  </div>
  <div>
    <a href="@controllers.admin.store.routes.StoreRowController.view(model.storeId)">@model.storeId</a>
  </div>
  <em>@hit</em>
  <div style="margin-top: 12px;">
    <div class="chip">Manager Staff Id: @model.managerStaffId</div>
    <div class="chip">Address Id: @model.addressId</div>
    <div class="chip">Last Update: @model.lastUpdate</div>
  </div>
</div>


<|start_filename|>app/views/admin/customer/rentalRowDataRow.scala.html<|end_filename|>
@* Generated File *@
@(model: models.customer.RentalRow, additional: Option[Html] = None)<tr>
  <td>
    <a href="@controllers.admin.customer.routes.RentalRowController.view(model.rentalId)">@model.rentalId</a>
  </td>
  <td>
    @model.rentalDate
  </td>
  <td>
    @model.inventoryId
    <a href="@controllers.admin.store.routes.InventoryRowController.view(model.inventoryId)">
      <i class="material-icons small">@models.template.Icons.inventoryRow</i>
    </a>
  </td>
  <td>
    @model.customerId
    <a href="@controllers.admin.customer.routes.CustomerRowController.view(model.customerId)">
      <i class="material-icons small">@models.template.Icons.customerRow</i>
    </a>
  </td>
  <td>
    @model.returnDate
  </td>
  <td>
    @model.staffId
    <a href="@controllers.admin.store.routes.StaffRowController.view(model.staffId)">
      <i class="material-icons small">@models.template.Icons.staffRow</i>
    </a>
  </td>
  @additional
</tr>


<|start_filename|>app/views/admin/address/addressRowView.scala.html<|end_filename|>
@* Generated File *@
@(
    cfg: com.kyleu.projectile.models.config.UiConfig,
    model: models.address.AddressRow,
    notes: Seq[com.kyleu.projectile.models.note.Note],
    cityIdR: Option[models.address.CityRow],
    debug: Boolean
)(
    implicit request: Request[AnyContent], session: Session, flash: Flash, td: com.kyleu.projectile.util.tracing.TraceData
)@com.kyleu.projectile.views.html.layout.page(title = s"Address", cfg = cfg, icon = Some(models.template.Icons.addressRow)) {
  @com.kyleu.projectile.services.augment.AugmentService.viewHeaders.augment(model, request.queryString, cfg)
  @com.kyleu.projectile.views.html.layout.card(None) {
    <div class="right"><a class="btn @cfg.user.buttonColor" href="@controllers.admin.address.routes.AddressRowController.editForm(model.addressId)">Edit</a></div>
    <div class="right"><a class="btn-flat remove-link" onclick="return confirm('Are you sure you want to remove this Address?')" href="@controllers.admin.address.routes.AddressRowController.remove(model.addressId)">Remove</a></div>
    <table class="highlight responsive-table">
      <tbody>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.addressId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Address Id</div></th>
          <td>@model.addressId</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.address.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Address</div></th>
          <td>@model.address</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.address2.map(_.toString.replaceAllLiterally("'", ""))')" style="cursor: pointer;">Address2</div></th>
          <td>@model.address2.getOrElse(com.kyleu.projectile.util.NullUtils.str)</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.district.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">District</div></th>
          <td>@model.district</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.cityId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">City Id</div></th>
          <td>
            <div>
              @model.cityId
            </div>
            @cityIdR.map { r =>
              <div class="card-panel grey lighten-5" style="padding: 12px; margin: 12px 0 0 0;">
                <div>
                  <a href="@controllers.admin.address.routes.CityRowController.view(model.cityId)">
                    <i class="material-icons small">@models.template.Icons.cityRow</i> <strong>City</string>
                  </a>
                </div>
                @com.kyleu.projectile.views.html.components.dataSummary(r.toSummary)
              </div>
            }
          </td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.postalCode.map(_.toString.replaceAllLiterally("'", ""))')" style="cursor: pointer;">Postal Code</div></th>
          <td>@model.postalCode.getOrElse(com.kyleu.projectile.util.NullUtils.str)</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.phone.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Phone</div></th>
          <td>@model.phone</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.lastUpdate.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Last Update</div></th>
          <td>@model.lastUpdate</td>
        </tr>
      </tbody>
    </table>
  }
  @com.kyleu.projectile.services.augment.AugmentService.viewDetails.augment(model, request.queryString, cfg)
  @com.kyleu.projectile.views.html.admin.note.notes(cfg, notes, "AddressRow", "Address", model.addressId)

  <ul id="model-relations" class="collapsible" data-collapsible="expandable">
    <li id="relation-customerRow-addressId" data-table="customerRow" data-field="addressId" data-singular="Customer" data-plural="Customers" data-url="@controllers.admin.customer.routes.CustomerRowController.byAddressId(model.addressId, limit = Some(5), embedded = true)">
      <div class="collapsible-header">
        <i class="material-icons small">@models.template.Icons.customerRow</i>
        <span class="title">Customers</span>&nbsp;by Address Id
        <span class="badge" style="display: none;">
          <a class="bulk-edit-link" title="Bulk edit" href="@controllers.admin.customer.routes.CustomerRowController.byAddressIdBulkForm(model.addressId)"><i class="material-icons" style="margin-right: 0;">edit</i></a>
          <a class="view-relation-link" title="View these Customers" href="@controllers.admin.customer.routes.CustomerRowController.byAddressId(model.addressId)"><i class="material-icons" style="margin-right: 0;">insert_link</i></a>
        </span>
      </div>
      <div class="collapsible-body"><span>Loading...</span></div>
    </li>
    <li id="relation-staffRow-addressId" data-table="staffRow" data-field="addressId" data-singular="Staff" data-plural="Staff" data-url="@controllers.admin.store.routes.StaffRowController.byAddressId(model.addressId, limit = Some(5), embedded = true)">
      <div class="collapsible-header">
        <i class="material-icons small">@models.template.Icons.staffRow</i>
        <span class="title">Staff</span>&nbsp;by Address Id
        <span class="badge" style="display: none;">
          <a class="bulk-edit-link" title="Bulk edit" href="@controllers.admin.store.routes.StaffRowController.byAddressIdBulkForm(model.addressId)"><i class="material-icons" style="margin-right: 0;">edit</i></a>
          <a class="view-relation-link" title="View these Staff" href="@controllers.admin.store.routes.StaffRowController.byAddressId(model.addressId)"><i class="material-icons" style="margin-right: 0;">insert_link</i></a>
        </span>
      </div>
      <div class="collapsible-body"><span>Loading...</span></div>
    </li>
    <li id="relation-storeRow-addressId" data-table="storeRow" data-field="addressId" data-singular="Store" data-plural="Stores" data-url="@controllers.admin.store.routes.StoreRowController.byAddressId(model.addressId, limit = Some(5), embedded = true)">
      <div class="collapsible-header">
        <i class="material-icons small">@models.template.Icons.storeRow</i>
        <span class="title">Stores</span>&nbsp;by Address Id
        <span class="badge" style="display: none;">
          <a class="bulk-edit-link" title="Bulk edit" href="@controllers.admin.store.routes.StoreRowController.byAddressIdBulkForm(model.addressId)"><i class="material-icons" style="margin-right: 0;">edit</i></a>
          <a class="view-relation-link" title="View these Stores" href="@controllers.admin.store.routes.StoreRowController.byAddressId(model.addressId)"><i class="material-icons" style="margin-right: 0;">insert_link</i></a>
        </span>
      </div>
      <div class="collapsible-body"><span>Loading...</span></div>
    </li>
  </ul>
  <script>$(function() { new RelationService('@controllers.admin.address.routes.AddressRowController.relationCounts(model.addressId)') });</script>

  @com.kyleu.projectile.views.html.components.includeScalaJs(debug)
}


<|start_filename|>app/views/admin/film/categoryRowSearchResult.scala.html<|end_filename|>
@* Generated File *@
@(model: models.film.CategoryRow, hit: String)<div class="search-result">
  <div class="right">
    <i class="material-icons small">@models.template.Icons.categoryRow</i> Category
  </div>
  <div>
    <a href="@controllers.admin.film.routes.CategoryRowController.view(model.categoryId)">@model.categoryId</a>
  </div>
  <em>@hit</em>
  <div style="margin-top: 12px;">
    <div class="chip">Name: @model.name</div>
    <div class="chip">Last Update: @model.lastUpdate</div>
  </div>
</div>


<|start_filename|>app/views/admin/customer/customerRowDataRow.scala.html<|end_filename|>
@* Generated File *@
@(model: models.customer.CustomerRow, additional: Option[Html] = None)<tr>
  <td>
    <a href="@controllers.admin.customer.routes.CustomerRowController.view(model.customerId)">@model.customerId</a>
  </td>
  <td>
    @model.storeId
    <a href="@controllers.admin.store.routes.StoreRowController.view(model.storeId)">
      <i class="material-icons small">@models.template.Icons.storeRow</i>
    </a>
  </td>
  <td>
    @model.firstName
  </td>
  <td>
    @model.lastName
  </td>
  <td>
    @model.email
  </td>
  <td>
    @model.addressId
    <a href="@controllers.admin.address.routes.AddressRowController.view(model.addressId)">
      <i class="material-icons small">@models.template.Icons.addressRow</i>
    </a>
  </td>
  @additional
</tr>


<|start_filename|>app/views/admin/customer/languageRowView.scala.html<|end_filename|>
@* Generated File *@
@(
    cfg: com.kyleu.projectile.models.config.UiConfig,
    model: models.customer.LanguageRow,
    notes: Seq[com.kyleu.projectile.models.note.Note],
    debug: Boolean
)(
    implicit request: Request[AnyContent], session: Session, flash: Flash, td: com.kyleu.projectile.util.tracing.TraceData
)@com.kyleu.projectile.views.html.layout.page(title = s"Language", cfg = cfg, icon = Some(models.template.Icons.languageRow)) {
  @com.kyleu.projectile.services.augment.AugmentService.viewHeaders.augment(model, request.queryString, cfg)
  @com.kyleu.projectile.views.html.layout.card(None) {
    <div class="right"><a class="btn @cfg.user.buttonColor" href="@controllers.admin.customer.routes.LanguageRowController.editForm(model.languageId)">Edit</a></div>
    <div class="right"><a class="btn-flat remove-link" onclick="return confirm('Are you sure you want to remove this Language?')" href="@controllers.admin.customer.routes.LanguageRowController.remove(model.languageId)">Remove</a></div>
    <table class="highlight responsive-table">
      <tbody>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.languageId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Language Id</div></th>
          <td>@model.languageId</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.name.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Name</div></th>
          <td>@model.name</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.lastUpdate.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Last Update</div></th>
          <td>@model.lastUpdate</td>
        </tr>
      </tbody>
    </table>
  }
  @com.kyleu.projectile.services.augment.AugmentService.viewDetails.augment(model, request.queryString, cfg)
  @com.kyleu.projectile.views.html.admin.note.notes(cfg, notes, "LanguageRow", "Language", model.languageId)

  <ul id="model-relations" class="collapsible" data-collapsible="expandable">
    <li id="relation-filmRow-languageId" data-table="filmRow" data-field="languageId" data-singular="Film" data-plural="Films" data-url="@controllers.admin.film.routes.FilmRowController.byLanguageId(model.languageId, limit = Some(5), embedded = true)">
      <div class="collapsible-header">
        <i class="material-icons small">@models.template.Icons.filmRow</i>
        <span class="title">Films</span>&nbsp;by Language Id
        <span class="badge" style="display: none;">
          <a class="bulk-edit-link" title="Bulk edit" href="@controllers.admin.film.routes.FilmRowController.byLanguageIdBulkForm(model.languageId)"><i class="material-icons" style="margin-right: 0;">edit</i></a>
          <a class="view-relation-link" title="View these Films" href="@controllers.admin.film.routes.FilmRowController.byLanguageId(model.languageId)"><i class="material-icons" style="margin-right: 0;">insert_link</i></a>
        </span>
      </div>
      <div class="collapsible-body"><span>Loading...</span></div>
    </li>
    <li id="relation-filmRow-originalLanguageId" data-table="filmRow" data-field="originalLanguageId" data-singular="Film" data-plural="Films" data-url="@controllers.admin.film.routes.FilmRowController.byOriginalLanguageId(model.languageId, limit = Some(5), embedded = true)">
      <div class="collapsible-header">
        <i class="material-icons small">@models.template.Icons.filmRow</i>
        <span class="title">Films</span>&nbsp;by Original Language Id
        <span class="badge" style="display: none;">
          <a class="bulk-edit-link" title="Bulk edit" href="@controllers.admin.film.routes.FilmRowController.byOriginalLanguageIdBulkForm(model.languageId)"><i class="material-icons" style="margin-right: 0;">edit</i></a>
          <a class="view-relation-link" title="View these Films" href="@controllers.admin.film.routes.FilmRowController.byOriginalLanguageId(model.languageId)"><i class="material-icons" style="margin-right: 0;">insert_link</i></a>
        </span>
      </div>
      <div class="collapsible-body"><span>Loading...</span></div>
    </li>
  </ul>
  <script>$(function() { new RelationService('@controllers.admin.customer.routes.LanguageRowController.relationCounts(model.languageId)') });</script>

  @com.kyleu.projectile.views.html.components.includeScalaJs(debug)
}


<|start_filename|>app/views/admin/film/filmActorRowDataRow.scala.html<|end_filename|>
@* Generated File *@
@(model: models.film.FilmActorRow, additional: Option[Html] = None)<tr>
  <td>
    <a href="@controllers.admin.film.routes.FilmActorRowController.view(model.actorId, model.filmId)">@model.actorId</a>
    <a href="@controllers.admin.film.routes.ActorRowController.view(model.actorId)">
      <i class="material-icons small">@models.template.Icons.actorRow</i>
    </a>
  </td>
  <td>
    <a href="@controllers.admin.film.routes.FilmActorRowController.view(model.actorId, model.filmId)">@model.filmId</a>
    <a href="@controllers.admin.film.routes.FilmRowController.view(model.filmId)">
      <i class="material-icons small">@models.template.Icons.filmRow</i>
    </a>
  </td>
  <td>
    @model.lastUpdate
  </td>
  @additional
</tr>


<|start_filename|>app/views/admin/store/inventoryRowDataRow.scala.html<|end_filename|>
@* Generated File *@
@(model: models.store.InventoryRow, additional: Option[Html] = None)<tr>
  <td>
    <a href="@controllers.admin.store.routes.InventoryRowController.view(model.inventoryId)">@model.inventoryId</a>
  </td>
  <td>
    @model.filmId
    <a href="@controllers.admin.film.routes.FilmRowController.view(model.filmId)">
      <i class="material-icons small">@models.template.Icons.filmRow</i>
    </a>
  </td>
  <td>
    @model.storeId
    <a href="@controllers.admin.store.routes.StoreRowController.view(model.storeId)">
      <i class="material-icons small">@models.template.Icons.storeRow</i>
    </a>
  </td>
  @additional
</tr>


<|start_filename|>app/views/admin/store/staffRowSearchResult.scala.html<|end_filename|>
@* Generated File *@
@(model: models.store.StaffRow, hit: String)<div class="search-result">
  <div class="right">
    <i class="material-icons small">@models.template.Icons.staffRow</i> Staff
  </div>
  <div>
    <a href="@controllers.admin.store.routes.StaffRowController.view(model.staffId)">@model.staffId</a>
  </div>
  <em>@hit</em>
  <div style="margin-top: 12px;">
    <div class="chip">First Name: @model.firstName</div>
    <div class="chip">Last Name: @model.lastName</div>
    <div class="chip">Address Id: @model.addressId</div>
    <div class="chip">Email: @model.email</div>
    <div class="chip">Store Id: @model.storeId</div>
    <div class="chip">Username: @model.username</div>
  </div>
</div>


<|start_filename|>app/views/admin/film/filmCategoryRowDataRow.scala.html<|end_filename|>
@* Generated File *@
@(model: models.film.FilmCategoryRow, additional: Option[Html] = None)<tr>
  <td>
    <a href="@controllers.admin.film.routes.FilmCategoryRowController.view(model.filmId, model.categoryId)">@model.filmId</a>
    <a href="@controllers.admin.film.routes.FilmRowController.view(model.filmId)">
      <i class="material-icons small">@models.template.Icons.filmRow</i>
    </a>
  </td>
  <td>
    <a href="@controllers.admin.film.routes.FilmCategoryRowController.view(model.filmId, model.categoryId)">@model.categoryId</a>
    <a href="@controllers.admin.film.routes.CategoryRowController.view(model.categoryId)">
      <i class="material-icons small">@models.template.Icons.categoryRow</i>
    </a>
  </td>
  <td>
    @model.lastUpdate
  </td>
  @additional
</tr>


<|start_filename|>app/views/admin/film/filmRowSearchResult.scala.html<|end_filename|>
@* Generated File *@
@(model: models.film.FilmRow, hit: String)<div class="search-result">
  <div class="right">
    <i class="material-icons small">@models.template.Icons.filmRow</i> Film
  </div>
  <div>
    <a href="@controllers.admin.film.routes.FilmRowController.view(model.filmId)">@model.filmId</a>
  </div>
  <em>@hit</em>
  <div style="margin-top: 12px;">
    <div class="chip">Title: @model.title</div>
    <div class="chip">Description: @model.description</div>
    <div class="chip">Release Year: @model.releaseYear</div>
    <div class="chip">Language Id: @model.languageId</div>
    <div class="chip">Original Language Id: @model.originalLanguageId</div>
    <div class="chip">Rental Duration: @model.rentalDuration</div>
    <div class="chip">Rental Rate: @model.rentalRate</div>
    <div class="chip">Length: @model.length</div>
    <div class="chip">Rating: @model.rating</div>
    <div class="chip">Last Update: @model.lastUpdate</div>
    <div class="chip">Fulltext: @model.fulltext</div>
  </div>
</div>


<|start_filename|>app/views/admin/customer/customerRowBulkForm.scala.html<|end_filename|>
@* Generated File *@
@(cfg: com.kyleu.projectile.models.config.UiConfig, modelSeq: Seq[models.customer.CustomerRow], act: Call, debug: Boolean)(
    implicit request: Request[AnyContent], flash: Flash
)
@add() = {
  <div class="right"><button type="submit" class="btn @cfg.user.buttonColor" form="pks">Add</button></div>
  <div class="right"><input id="new-pks" name="new-pks" type="text" placeholder="Primary keys" form="pks" /></div>
}
@com.kyleu.projectile.views.html.layout.page(title = "Bulk Edit", cfg = cfg, icon = Some(models.template.Icons.customerRow)) {
  <form id="pks" onsubmit="bulk.addPk($('#new-pks').val());return false;"></form>
  <form id="form-edit-customerRow" action="@act" method="post">
    <input type="hidden" class="primaryKeys" name="primaryKeys" value="@modelSeq.map(m => m.customerId).mkString("//")" />
    @com.kyleu.projectile.views.html.layout.card(Some("Selected Customers"), right = Some(add())) {
      <table id="bulk-rows">
        <thead>
          <tr>
            <th>Customer Id</th>
            <th>Store Id</th>
            <th>First Name</th>
            <th>Last Name</th>
            <th>Email</th>
            <th>Address Id</th>
            <th></th>
          </tr>
        </thead>
        <tbody>
          @modelSeq.map { model =>
            @customerRowDataRow(model, Some(Html(s"<td style='text-align: right;'><a class='remove-pk' data-pk='${model.customerId}' href='' title='Remove from editing'><i class='material-icons'>close</i></a></td>")))
          }
        </tbody>
      </table>
    }
    @com.kyleu.projectile.views.html.layout.card(None) {
      <table>
        <tbody>
          @com.kyleu.projectile.views.html.components.form.autocompleteField(
            selected = request.queryString.isDefinedAt("storeId"), key = "storeId", title = "Store Id", value = request.queryString.get("storeId").flatMap(_.headOption).orElse(None), nullable = false, dataType = "integer",
            call = controllers.admin.store.routes.StoreRowController.autocomplete(), acType = ("storeRow", "Store"), icon = models.template.Icons.storeRow, inputType = "text"
          )
          @com.kyleu.projectile.views.html.components.form.textField(selected = request.queryString.isDefinedAt("firstName"), key = "firstName", title = "First Name", value = request.queryString.get("firstName").flatMap(_.headOption).orElse(None), nullable = false)
          @com.kyleu.projectile.views.html.components.form.textField(selected = request.queryString.isDefinedAt("lastName"), key = "lastName", title = "Last Name", value = request.queryString.get("lastName").flatMap(_.headOption).orElse(None), nullable = false)
          @com.kyleu.projectile.views.html.components.form.textField(selected = request.queryString.isDefinedAt("email"), key = "email", title = "Email", value = request.queryString.get("email").flatMap(_.headOption).orElse(None), nullable = true)
          @com.kyleu.projectile.views.html.components.form.autocompleteField(
            selected = request.queryString.isDefinedAt("addressId"), key = "addressId", title = "Address Id", value = request.queryString.get("addressId").flatMap(_.headOption).orElse(None), nullable = false, dataType = "integer",
            call = controllers.admin.address.routes.AddressRowController.autocomplete(), acType = ("addressRow", "Address"), icon = models.template.Icons.addressRow, inputType = "text"
          )
          @com.kyleu.projectile.views.html.components.form.booleanField(selected = request.queryString.isDefinedAt("activebool"), key = "activebool", title = "Activebool", value = request.queryString.get("activebool").flatMap(_.headOption).map(s => s == "true").orElse(None), nullable = false)
          @com.kyleu.projectile.views.html.components.form.localDateField(selected = request.queryString.isDefinedAt("createDate"), key = "createDate", title = "Create Date", value = request.queryString.get("createDate").flatMap(_.headOption).map(s => com.kyleu.projectile.util.DateUtils.fromDateString(s)).orElse(None), nullable = false)
          @com.kyleu.projectile.views.html.components.form.zonedDateTimeField(selected = request.queryString.isDefinedAt("lastUpdate"), key = "lastUpdate", title = "Last Update", value = request.queryString.get("lastUpdate").flatMap(_.headOption).map(s => com.kyleu.projectile.util.DateUtils.fromIsoStringZoned(s)).orElse(None), nullable = true)
          @com.kyleu.projectile.views.html.components.form.longField(selected = request.queryString.isDefinedAt("active"), key = "active", title = "Active", value = request.queryString.get("active").flatMap(_.headOption).map(s => s.toLong).orElse(None), nullable = true)
        </tbody>
      </table>
      <br />
      <div class="right"><button type="submit" class="btn @cfg.user.buttonColor">Save <span>@modelSeq.size</span> Customers</button></div>
      <div class="right"><a href="" onclick="window.history.go(-1);return false;" class="btn-flat cancel-link">Cancel</a></div>
      <div class="clear"></div>
    }
  </form>
}
@com.kyleu.projectile.views.html.components.includeScalaJs(debug)
@com.kyleu.projectile.views.html.components.includeAutocomplete(debug)
<script>
  $(function() { new FormService('form-edit-customerRow'); });
  var bulk;
  $(function() { bulk = new BulkEditService('form-edit-customerRow', 6); });
</script>


<|start_filename|>app/views/admin/film/filmRowDataRow.scala.html<|end_filename|>
@* Generated File *@
@(model: models.film.FilmRow, additional: Option[Html] = None)<tr>
  <td>
    <a href="@controllers.admin.film.routes.FilmRowController.view(model.filmId)">@model.filmId</a>
  </td>
  <td>
    @model.title
  </td>
  <td>
    @model.releaseYear
  </td>
  <td>
    @model.languageId
    <a href="@controllers.admin.customer.routes.LanguageRowController.view(model.languageId)">
      <i class="material-icons small">@models.template.Icons.languageRow</i>
    </a>
  </td>
  <td>
    @model.originalLanguageId
    @model.originalLanguageId.map { v =>
      <a href="@controllers.admin.customer.routes.LanguageRowController.view(v)">
        <i class="material-icons small">@models.template.Icons.languageRow</i>
      </a>
    }
  </td>
  <td>
    @model.rentalDuration
  </td>
  <td>
    @model.rentalRate
  </td>
  <td>
    @model.length
  </td>
  <td>
    @model.rating
  </td>
  <td>
    @model.lastUpdate
  </td>
  <td>
    @model.fulltext
  </td>
  @additional
</tr>


<|start_filename|>app/views/admin/film/filmCategoryRowView.scala.html<|end_filename|>
@* Generated File *@
@(
    cfg: com.kyleu.projectile.models.config.UiConfig,
    model: models.film.FilmCategoryRow,
    notes: Seq[com.kyleu.projectile.models.note.Note],
    filmIdR: Option[models.film.FilmRow],
    categoryIdR: Option[models.film.CategoryRow],
    debug: Boolean
)(
    implicit request: Request[AnyContent], session: Session, flash: Flash, td: com.kyleu.projectile.util.tracing.TraceData
)@com.kyleu.projectile.views.html.layout.page(title = s"Film Category", cfg = cfg, icon = Some(models.template.Icons.filmCategoryRow)) {
  @com.kyleu.projectile.services.augment.AugmentService.viewHeaders.augment(model, request.queryString, cfg)
  @com.kyleu.projectile.views.html.layout.card(None) {
    <div class="right"><a class="btn @cfg.user.buttonColor" href="@controllers.admin.film.routes.FilmCategoryRowController.editForm(model.filmId, model.categoryId)">Edit</a></div>
    <div class="right"><a class="btn-flat remove-link" onclick="return confirm('Are you sure you want to remove this Film Category?')" href="@controllers.admin.film.routes.FilmCategoryRowController.remove(model.filmId, model.categoryId)">Remove</a></div>
    <table class="highlight responsive-table">
      <tbody>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.filmId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Film Id</div></th>
          <td>
            <div>
              @model.filmId
            </div>
            @filmIdR.map { r =>
              <div class="card-panel grey lighten-5" style="padding: 12px; margin: 12px 0 0 0;">
                <div>
                  <a href="@controllers.admin.film.routes.FilmRowController.view(model.filmId)">
                    <i class="material-icons small">@models.template.Icons.filmRow</i> <strong>Film</string>
                  </a>
                </div>
                @com.kyleu.projectile.views.html.components.dataSummary(r.toSummary)
              </div>
            }
          </td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.categoryId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Category Id</div></th>
          <td>
            <div>
              @model.categoryId
            </div>
            @categoryIdR.map { r =>
              <div class="card-panel grey lighten-5" style="padding: 12px; margin: 12px 0 0 0;">
                <div>
                  <a href="@controllers.admin.film.routes.CategoryRowController.view(model.categoryId)">
                    <i class="material-icons small">@models.template.Icons.categoryRow</i> <strong>Category</string>
                  </a>
                </div>
                @com.kyleu.projectile.views.html.components.dataSummary(r.toSummary)
              </div>
            }
          </td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.lastUpdate.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Last Update</div></th>
          <td>@model.lastUpdate</td>
        </tr>
      </tbody>
    </table>
  }
  @com.kyleu.projectile.services.augment.AugmentService.viewDetails.augment(model, request.queryString, cfg)
  @com.kyleu.projectile.views.html.admin.note.notes(cfg, notes, "FilmCategoryRow", "Film Category", model.filmId, model.categoryId)

  @com.kyleu.projectile.views.html.components.includeScalaJs(debug)
}


<|start_filename|>app/views/admin/payment/paymentRowView.scala.html<|end_filename|>
@* Generated File *@
@(
    cfg: com.kyleu.projectile.models.config.UiConfig,
    model: models.payment.PaymentRow,
    notes: Seq[com.kyleu.projectile.models.note.Note],
    staffIdR: Option[models.store.StaffRow],
    rentalIdR: Option[models.customer.RentalRow],
    customerIdR: Option[models.customer.CustomerRow],
    debug: Boolean
)(
    implicit request: Request[AnyContent], session: Session, flash: Flash, td: com.kyleu.projectile.util.tracing.TraceData
)@com.kyleu.projectile.views.html.layout.page(title = s"Payment", cfg = cfg, icon = Some(models.template.Icons.paymentRow)) {
  @com.kyleu.projectile.services.augment.AugmentService.viewHeaders.augment(model, request.queryString, cfg)
  @com.kyleu.projectile.views.html.layout.card(None) {
    <div class="right"><a class="btn @cfg.user.buttonColor" href="@controllers.admin.payment.routes.PaymentRowController.editForm(model.paymentId)">Edit</a></div>
    <div class="right"><a class="btn-flat remove-link" onclick="return confirm('Are you sure you want to remove this Payment?')" href="@controllers.admin.payment.routes.PaymentRowController.remove(model.paymentId)">Remove</a></div>
    <table class="highlight responsive-table">
      <tbody>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.paymentId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Payment Id</div></th>
          <td>@model.paymentId</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.customerId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Customer Id</div></th>
          <td>
            <div>
              @model.customerId
            </div>
            @customerIdR.map { r =>
              <div class="card-panel grey lighten-5" style="padding: 12px; margin: 12px 0 0 0;">
                <div>
                  <a href="@controllers.admin.customer.routes.CustomerRowController.view(model.customerId)">
                    <i class="material-icons small">@models.template.Icons.customerRow</i> <strong>Customer</string>
                  </a>
                </div>
                @com.kyleu.projectile.views.html.components.dataSummary(r.toSummary)
              </div>
            }
          </td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.staffId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Staff Id</div></th>
          <td>
            <div>
              @model.staffId
            </div>
            @staffIdR.map { r =>
              <div class="card-panel grey lighten-5" style="padding: 12px; margin: 12px 0 0 0;">
                <div>
                  <a href="@controllers.admin.store.routes.StaffRowController.view(model.staffId)">
                    <i class="material-icons small">@models.template.Icons.staffRow</i> <strong>Staff</string>
                  </a>
                </div>
                @com.kyleu.projectile.views.html.components.dataSummary(r.toSummary)
              </div>
            }
          </td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.rentalId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Rental Id</div></th>
          <td>
            <div>
              @model.rentalId
            </div>
            @rentalIdR.map { r =>
              <div class="card-panel grey lighten-5" style="padding: 12px; margin: 12px 0 0 0;">
                <div>
                  <a href="@controllers.admin.customer.routes.RentalRowController.view(model.rentalId)">
                    <i class="material-icons small">@models.template.Icons.rentalRow</i> <strong>Rental</string>
                  </a>
                </div>
                @com.kyleu.projectile.views.html.components.dataSummary(r.toSummary)
              </div>
            }
          </td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.amount.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Amount</div></th>
          <td>@model.amount</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.paymentDate.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Payment Date</div></th>
          <td>@model.paymentDate</td>
        </tr>
      </tbody>
    </table>
  }
  @com.kyleu.projectile.services.augment.AugmentService.viewDetails.augment(model, request.queryString, cfg)
  @com.kyleu.projectile.views.html.admin.note.notes(cfg, notes, "PaymentRow", "Payment", model.paymentId)

  @com.kyleu.projectile.views.html.components.includeScalaJs(debug)
}


<|start_filename|>app/views/admin/customer/customerRowView.scala.html<|end_filename|>
@* Generated File *@
@(
    cfg: com.kyleu.projectile.models.config.UiConfig,
    model: models.customer.CustomerRow,
    notes: Seq[com.kyleu.projectile.models.note.Note],
    storeIdR: Option[models.store.StoreRow],
    addressIdR: Option[models.address.AddressRow],
    debug: Boolean
)(
    implicit request: Request[AnyContent], session: Session, flash: Flash, td: com.kyleu.projectile.util.tracing.TraceData
)@com.kyleu.projectile.views.html.layout.page(title = s"Customer", cfg = cfg, icon = Some(models.template.Icons.customerRow)) {
  @com.kyleu.projectile.services.augment.AugmentService.viewHeaders.augment(model, request.queryString, cfg)
  @com.kyleu.projectile.views.html.layout.card(None) {
    <div class="right"><a class="btn @cfg.user.buttonColor" href="@controllers.admin.customer.routes.CustomerRowController.editForm(model.customerId)">Edit</a></div>
    <div class="right"><a class="btn-flat remove-link" onclick="return confirm('Are you sure you want to remove this Customer?')" href="@controllers.admin.customer.routes.CustomerRowController.remove(model.customerId)">Remove</a></div>
    <table class="highlight responsive-table">
      <tbody>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.customerId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Customer Id</div></th>
          <td>@model.customerId</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.storeId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Store Id</div></th>
          <td>
            <div>
              @model.storeId
            </div>
            @storeIdR.map { r =>
              <div class="card-panel grey lighten-5" style="padding: 12px; margin: 12px 0 0 0;">
                <div>
                  <a href="@controllers.admin.store.routes.StoreRowController.view(model.storeId)">
                    <i class="material-icons small">@models.template.Icons.storeRow</i> <strong>Store</string>
                  </a>
                </div>
                @com.kyleu.projectile.views.html.components.dataSummary(r.toSummary)
              </div>
            }
          </td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.firstName.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">First Name</div></th>
          <td>@model.firstName</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.lastName.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Last Name</div></th>
          <td>@model.lastName</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.email.map(_.toString.replaceAllLiterally("'", ""))')" style="cursor: pointer;">Email</div></th>
          <td>@model.email.getOrElse(com.kyleu.projectile.util.NullUtils.str)</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.addressId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Address Id</div></th>
          <td>
            <div>
              @model.addressId
            </div>
            @addressIdR.map { r =>
              <div class="card-panel grey lighten-5" style="padding: 12px; margin: 12px 0 0 0;">
                <div>
                  <a href="@controllers.admin.address.routes.AddressRowController.view(model.addressId)">
                    <i class="material-icons small">@models.template.Icons.addressRow</i> <strong>Address</string>
                  </a>
                </div>
                @com.kyleu.projectile.views.html.components.dataSummary(r.toSummary)
              </div>
            }
          </td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.activebool.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Activebool</div></th>
          <td>@com.kyleu.projectile.views.html.components.form.booleanDisplay(model.activebool)</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.createDate.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Create Date</div></th>
          <td>@model.createDate</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.lastUpdate.map(_.toString.replaceAllLiterally("'", ""))')" style="cursor: pointer;">Last Update</div></th>
          <td>@model.lastUpdate.getOrElse(com.kyleu.projectile.util.NullUtils.str)</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.active.map(_.toString.replaceAllLiterally("'", ""))')" style="cursor: pointer;">Active</div></th>
          <td>@model.active.getOrElse(com.kyleu.projectile.util.NullUtils.str)</td>
        </tr>
      </tbody>
    </table>
  }
  @com.kyleu.projectile.services.augment.AugmentService.viewDetails.augment(model, request.queryString, cfg)
  @com.kyleu.projectile.views.html.admin.note.notes(cfg, notes, "CustomerRow", "Customer", model.customerId)

  <ul id="model-relations" class="collapsible" data-collapsible="expandable">
    <li id="relation-paymentRow-customerId" data-table="paymentRow" data-field="customerId" data-singular="Payment" data-plural="Payments" data-url="@controllers.admin.payment.routes.PaymentRowController.byCustomerId(model.customerId, limit = Some(5), embedded = true)">
      <div class="collapsible-header">
        <i class="material-icons small">@models.template.Icons.paymentRow</i>
        <span class="title">Payments</span>&nbsp;by Customer Id
        <span class="badge" style="display: none;">
          <a class="bulk-edit-link" title="Bulk edit" href="@controllers.admin.payment.routes.PaymentRowController.byCustomerIdBulkForm(model.customerId)"><i class="material-icons" style="margin-right: 0;">edit</i></a>
          <a class="view-relation-link" title="View these Payments" href="@controllers.admin.payment.routes.PaymentRowController.byCustomerId(model.customerId)"><i class="material-icons" style="margin-right: 0;">insert_link</i></a>
        </span>
      </div>
      <div class="collapsible-body"><span>Loading...</span></div>
    </li>
    <li id="relation-rentalRow-customerId" data-table="rentalRow" data-field="customerId" data-singular="Rental" data-plural="Rentals" data-url="@controllers.admin.customer.routes.RentalRowController.byCustomerId(model.customerId, limit = Some(5), embedded = true)">
      <div class="collapsible-header">
        <i class="material-icons small">@models.template.Icons.rentalRow</i>
        <span class="title">Rentals</span>&nbsp;by Customer Id
        <span class="badge" style="display: none;">
          <a class="bulk-edit-link" title="Bulk edit" href="@controllers.admin.customer.routes.RentalRowController.byCustomerIdBulkForm(model.customerId)"><i class="material-icons" style="margin-right: 0;">edit</i></a>
          <a class="view-relation-link" title="View these Rentals" href="@controllers.admin.customer.routes.RentalRowController.byCustomerId(model.customerId)"><i class="material-icons" style="margin-right: 0;">insert_link</i></a>
        </span>
      </div>
      <div class="collapsible-body"><span>Loading...</span></div>
    </li>
  </ul>
  <script>$(function() { new RelationService('@controllers.admin.customer.routes.CustomerRowController.relationCounts(model.customerId)') });</script>

  @com.kyleu.projectile.views.html.components.includeScalaJs(debug)
}


<|start_filename|>app/views/admin/film/filmActorRowForm.scala.html<|end_filename|>
@* Generated File *@
@(cfg: com.kyleu.projectile.models.config.UiConfig, model: models.film.FilmActorRow, title: String, cancel: Call, act: Call, isNew: Boolean = false, debug: Boolean = false)(
    implicit request: Request[AnyContent], session: Session, flash: Flash
)@com.kyleu.projectile.views.html.layout.page(title = title, cfg = cfg, icon = Some(models.template.Icons.filmActorRow)) {
  <form id="form-edit-filmActorRow" action="@act" method="post">
    @com.kyleu.projectile.views.html.layout.card(None) {
      <div class="right"><button type="submit" class="btn @cfg.user.buttonColor">@if(isNew) {Create} else {Save} Film Actor</button></div>
      <div class="right"><a href="@cancel" class="btn-flat cancel-link">Cancel</a></div>
      <div class="clear"></div>
      <table>
        <tbody>
          @com.kyleu.projectile.views.html.components.form.autocompleteField(
            selected = request.queryString.isDefinedAt("actorId") || isNew, key = "actorId", title = "Actor Id", value = request.queryString.get("actorId").flatMap(_.headOption).orElse(if(isNew) { None } else { Some(model.actorId.toString) }), nullable = false, isPk = true, dataType = "integer",
            call = controllers.admin.film.routes.ActorRowController.autocomplete(), acType = ("actorRow", "Actor"), icon = models.template.Icons.actorRow, inputType = "text"
          )
          @com.kyleu.projectile.views.html.components.form.autocompleteField(
            selected = request.queryString.isDefinedAt("filmId") || isNew, key = "filmId", title = "Film Id", value = request.queryString.get("filmId").flatMap(_.headOption).orElse(if(isNew) { None } else { Some(model.filmId.toString) }), nullable = false, isPk = true, dataType = "integer",
            call = controllers.admin.film.routes.FilmRowController.autocomplete(), acType = ("filmRow", "Film"), icon = models.template.Icons.filmRow, inputType = "text"
          )
          @com.kyleu.projectile.views.html.components.form.zonedDateTimeField(selected = request.queryString.isDefinedAt("lastUpdate") || isNew, key = "lastUpdate", title = "Last Update", value = request.queryString.get("lastUpdate").flatMap(_.headOption).map(s => com.kyleu.projectile.util.DateUtils.fromIsoStringZoned(s)).orElse(Some(model.lastUpdate)), nullable = false)
        </tbody>
      </table>
    }
  </form>
}
@com.kyleu.projectile.views.html.components.includeScalaJs(debug)
@com.kyleu.projectile.views.html.components.includeAutocomplete(debug)
<script>$(function() { new FormService('form-edit-filmActorRow'); })</script>


<|start_filename|>app/views/admin/store/storeRowView.scala.html<|end_filename|>
@* Generated File *@
@(
    cfg: com.kyleu.projectile.models.config.UiConfig,
    model: models.store.StoreRow,
    notes: Seq[com.kyleu.projectile.models.note.Note],
    addressIdR: Option[models.address.AddressRow],
    debug: Boolean
)(
    implicit request: Request[AnyContent], session: Session, flash: Flash, td: com.kyleu.projectile.util.tracing.TraceData
)@com.kyleu.projectile.views.html.layout.page(title = s"Store", cfg = cfg, icon = Some(models.template.Icons.storeRow)) {
  @com.kyleu.projectile.services.augment.AugmentService.viewHeaders.augment(model, request.queryString, cfg)
  @com.kyleu.projectile.views.html.layout.card(None) {
    <div class="right"><a class="btn @cfg.user.buttonColor" href="@controllers.admin.store.routes.StoreRowController.editForm(model.storeId)">Edit</a></div>
    <div class="right"><a class="btn-flat remove-link" onclick="return confirm('Are you sure you want to remove this Store?')" href="@controllers.admin.store.routes.StoreRowController.remove(model.storeId)">Remove</a></div>
    <table class="highlight responsive-table">
      <tbody>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.storeId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Store Id</div></th>
          <td>@model.storeId</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.managerStaffId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Manager Staff Id</div></th>
          <td>@model.managerStaffId</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.addressId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Address Id</div></th>
          <td>
            <div>
              @model.addressId
            </div>
            @addressIdR.map { r =>
              <div class="card-panel grey lighten-5" style="padding: 12px; margin: 12px 0 0 0;">
                <div>
                  <a href="@controllers.admin.address.routes.AddressRowController.view(model.addressId)">
                    <i class="material-icons small">@models.template.Icons.addressRow</i> <strong>Address</string>
                  </a>
                </div>
                @com.kyleu.projectile.views.html.components.dataSummary(r.toSummary)
              </div>
            }
          </td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.lastUpdate.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Last Update</div></th>
          <td>@model.lastUpdate</td>
        </tr>
      </tbody>
    </table>
  }
  @com.kyleu.projectile.services.augment.AugmentService.viewDetails.augment(model, request.queryString, cfg)
  @com.kyleu.projectile.views.html.admin.note.notes(cfg, notes, "StoreRow", "Store", model.storeId)

  <ul id="model-relations" class="collapsible" data-collapsible="expandable">
    <li id="relation-customerRow-storeId" data-table="customerRow" data-field="storeId" data-singular="Customer" data-plural="Customers" data-url="@controllers.admin.customer.routes.CustomerRowController.byStoreId(model.storeId, limit = Some(5), embedded = true)">
      <div class="collapsible-header">
        <i class="material-icons small">@models.template.Icons.customerRow</i>
        <span class="title">Customers</span>&nbsp;by Store Id
        <span class="badge" style="display: none;">
          <a class="bulk-edit-link" title="Bulk edit" href="@controllers.admin.customer.routes.CustomerRowController.byStoreIdBulkForm(model.storeId)"><i class="material-icons" style="margin-right: 0;">edit</i></a>
          <a class="view-relation-link" title="View these Customers" href="@controllers.admin.customer.routes.CustomerRowController.byStoreId(model.storeId)"><i class="material-icons" style="margin-right: 0;">insert_link</i></a>
        </span>
      </div>
      <div class="collapsible-body"><span>Loading...</span></div>
    </li>
    <li id="relation-inventoryRow-storeId" data-table="inventoryRow" data-field="storeId" data-singular="Inventory" data-plural="Inventories" data-url="@controllers.admin.store.routes.InventoryRowController.byStoreId(model.storeId, limit = Some(5), embedded = true)">
      <div class="collapsible-header">
        <i class="material-icons small">@models.template.Icons.inventoryRow</i>
        <span class="title">Inventories</span>&nbsp;by Store Id
        <span class="badge" style="display: none;">
          <a class="bulk-edit-link" title="Bulk edit" href="@controllers.admin.store.routes.InventoryRowController.byStoreIdBulkForm(model.storeId)"><i class="material-icons" style="margin-right: 0;">edit</i></a>
          <a class="view-relation-link" title="View these Inventories" href="@controllers.admin.store.routes.InventoryRowController.byStoreId(model.storeId)"><i class="material-icons" style="margin-right: 0;">insert_link</i></a>
        </span>
      </div>
      <div class="collapsible-body"><span>Loading...</span></div>
    </li>
    <li id="relation-staffRow-storeId" data-table="staffRow" data-field="storeId" data-singular="Staff" data-plural="Staff" data-url="@controllers.admin.store.routes.StaffRowController.byStoreId(model.storeId, limit = Some(5), embedded = true)">
      <div class="collapsible-header">
        <i class="material-icons small">@models.template.Icons.staffRow</i>
        <span class="title">Staff</span>&nbsp;by Store Id
        <span class="badge" style="display: none;">
          <a class="bulk-edit-link" title="Bulk edit" href="@controllers.admin.store.routes.StaffRowController.byStoreIdBulkForm(model.storeId)"><i class="material-icons" style="margin-right: 0;">edit</i></a>
          <a class="view-relation-link" title="View these Staff" href="@controllers.admin.store.routes.StaffRowController.byStoreId(model.storeId)"><i class="material-icons" style="margin-right: 0;">insert_link</i></a>
        </span>
      </div>
      <div class="collapsible-body"><span>Loading...</span></div>
    </li>
  </ul>
  <script>$(function() { new RelationService('@controllers.admin.store.routes.StoreRowController.relationCounts(model.storeId)') });</script>

  @com.kyleu.projectile.views.html.components.includeScalaJs(debug)
}


<|start_filename|>app/views/admin/customer/languageRowSearchResult.scala.html<|end_filename|>
@* Generated File *@
@(model: models.customer.LanguageRow, hit: String)<div class="search-result">
  <div class="right">
    <i class="material-icons small">@models.template.Icons.languageRow</i> Language
  </div>
  <div>
    <a href="@controllers.admin.customer.routes.LanguageRowController.view(model.languageId)">@model.languageId</a>
  </div>
  <em>@hit</em>
  <div style="margin-top: 12px;">
    <div class="chip">Name: @model.name</div>
    <div class="chip">Last Update: @model.lastUpdate</div>
  </div>
</div>


<|start_filename|>app/views/admin/film/filmCategoryRowForm.scala.html<|end_filename|>
@* Generated File *@
@(cfg: com.kyleu.projectile.models.config.UiConfig, model: models.film.FilmCategoryRow, title: String, cancel: Call, act: Call, isNew: Boolean = false, debug: Boolean = false)(
    implicit request: Request[AnyContent], session: Session, flash: Flash
)@com.kyleu.projectile.views.html.layout.page(title = title, cfg = cfg, icon = Some(models.template.Icons.filmCategoryRow)) {
  <form id="form-edit-filmCategoryRow" action="@act" method="post">
    @com.kyleu.projectile.views.html.layout.card(None) {
      <div class="right"><button type="submit" class="btn @cfg.user.buttonColor">@if(isNew) {Create} else {Save} Film Category</button></div>
      <div class="right"><a href="@cancel" class="btn-flat cancel-link">Cancel</a></div>
      <div class="clear"></div>
      <table>
        <tbody>
          @com.kyleu.projectile.views.html.components.form.autocompleteField(
            selected = request.queryString.isDefinedAt("filmId") || isNew, key = "filmId", title = "Film Id", value = request.queryString.get("filmId").flatMap(_.headOption).orElse(if(isNew) { None } else { Some(model.filmId.toString) }), nullable = false, isPk = true, dataType = "integer",
            call = controllers.admin.film.routes.FilmRowController.autocomplete(), acType = ("filmRow", "Film"), icon = models.template.Icons.filmRow, inputType = "text"
          )
          @com.kyleu.projectile.views.html.components.form.autocompleteField(
            selected = request.queryString.isDefinedAt("categoryId") || isNew, key = "categoryId", title = "Category Id", value = request.queryString.get("categoryId").flatMap(_.headOption).orElse(if(isNew) { None } else { Some(model.categoryId.toString) }), nullable = false, isPk = true, dataType = "integer",
            call = controllers.admin.film.routes.CategoryRowController.autocomplete(), acType = ("categoryRow", "Category"), icon = models.template.Icons.categoryRow, inputType = "text"
          )
          @com.kyleu.projectile.views.html.components.form.zonedDateTimeField(selected = request.queryString.isDefinedAt("lastUpdate") || isNew, key = "lastUpdate", title = "Last Update", value = request.queryString.get("lastUpdate").flatMap(_.headOption).map(s => com.kyleu.projectile.util.DateUtils.fromIsoStringZoned(s)).orElse(Some(model.lastUpdate)), nullable = false)
        </tbody>
      </table>
    }
  </form>
}
@com.kyleu.projectile.views.html.components.includeScalaJs(debug)
@com.kyleu.projectile.views.html.components.includeAutocomplete(debug)
<script>$(function() { new FormService('form-edit-filmCategoryRow'); })</script>


<|start_filename|>app/views/admin/address/cityRowDataRow.scala.html<|end_filename|>
@* Generated File *@
@(model: models.address.CityRow, additional: Option[Html] = None)<tr>
  <td>
    <a href="@controllers.admin.address.routes.CityRowController.view(model.cityId)">@model.cityId</a>
  </td>
  <td>
    @model.city
  </td>
  <td>
    @model.countryId
    <a href="@controllers.admin.address.routes.CountryRowController.view(model.countryId)">
      <i class="material-icons small">@models.template.Icons.countryRow</i>
    </a>
  </td>
  <td>
    @model.lastUpdate
  </td>
  @additional
</tr>


<|start_filename|>app/views/admin/address/countryRowForm.scala.html<|end_filename|>
@* Generated File *@
@(cfg: com.kyleu.projectile.models.config.UiConfig, model: models.address.CountryRow, title: String, cancel: Call, act: Call, isNew: Boolean = false, debug: Boolean = false)(
    implicit request: Request[AnyContent], session: Session, flash: Flash
)@com.kyleu.projectile.views.html.layout.page(title = title, cfg = cfg, icon = Some(models.template.Icons.countryRow)) {
  <form id="form-edit-countryRow" action="@act" method="post">
    @com.kyleu.projectile.views.html.layout.card(None) {
      <div class="right"><button type="submit" class="btn @cfg.user.buttonColor">@if(isNew) {Create} else {Save} Country</button></div>
      <div class="right"><a href="@cancel" class="btn-flat cancel-link">Cancel</a></div>
      <div class="clear"></div>
      <table>
        <tbody>
          @com.kyleu.projectile.views.html.components.form.intField(selected = request.queryString.isDefinedAt("countryId") || isNew, key = "countryId", title = "Country Id", value = request.queryString.get("countryId").flatMap(_.headOption).map(s => s.toInt).orElse(Some(model.countryId)), nullable = false, isPk = true)
          @com.kyleu.projectile.views.html.components.form.textField(selected = request.queryString.isDefinedAt("country") || isNew, key = "country", title = "Country", value = request.queryString.get("country").flatMap(_.headOption).orElse(Some(model.country)), nullable = false)
          @com.kyleu.projectile.views.html.components.form.zonedDateTimeField(selected = request.queryString.isDefinedAt("lastUpdate") || isNew, key = "lastUpdate", title = "Last Update", value = request.queryString.get("lastUpdate").flatMap(_.headOption).map(s => com.kyleu.projectile.util.DateUtils.fromIsoStringZoned(s)).orElse(Some(model.lastUpdate)), nullable = false)
        </tbody>
      </table>
    }
  </form>
}
@com.kyleu.projectile.views.html.components.includeScalaJs(debug)
<script>$(function() { new FormService('form-edit-countryRow'); })</script>


<|start_filename|>app/views/admin/address/countryRowDataRow.scala.html<|end_filename|>
@* Generated File *@
@(model: models.address.CountryRow, additional: Option[Html] = None)<tr>
  <td>
    <a href="@controllers.admin.address.routes.CountryRowController.view(model.countryId)">@model.countryId</a>
  </td>
  <td>
    @model.country
  </td>
  <td>
    @model.lastUpdate
  </td>
  @additional
</tr>


<|start_filename|>app/views/admin/film/filmRowView.scala.html<|end_filename|>
@* Generated File *@
@(
    cfg: com.kyleu.projectile.models.config.UiConfig,
    model: models.film.FilmRow,
    notes: Seq[com.kyleu.projectile.models.note.Note],
    languageIdR: Option[models.customer.LanguageRow],
    originalLanguageIdR: Option[models.customer.LanguageRow],
    debug: Boolean
)(
    implicit request: Request[AnyContent], session: Session, flash: Flash, td: com.kyleu.projectile.util.tracing.TraceData
)@com.kyleu.projectile.views.html.layout.page(title = s"Film", cfg = cfg, icon = Some(models.template.Icons.filmRow)) {
  @com.kyleu.projectile.services.augment.AugmentService.viewHeaders.augment(model, request.queryString, cfg)
  @com.kyleu.projectile.views.html.layout.card(None) {
    <div class="right"><a class="btn @cfg.user.buttonColor" href="@controllers.admin.film.routes.FilmRowController.editForm(model.filmId)">Edit</a></div>
    <div class="right"><a class="btn-flat remove-link" onclick="return confirm('Are you sure you want to remove this Film?')" href="@controllers.admin.film.routes.FilmRowController.remove(model.filmId)">Remove</a></div>
    <table class="highlight responsive-table">
      <tbody>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.filmId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Film Id</div></th>
          <td>@model.filmId</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.title.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Title</div></th>
          <td>@model.title</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.description.map(_.toString.replaceAllLiterally("'", ""))')" style="cursor: pointer;">Description</div></th>
          <td>@model.description.getOrElse(com.kyleu.projectile.util.NullUtils.str)</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.releaseYear.map(_.toString.replaceAllLiterally("'", ""))')" style="cursor: pointer;">Release Year</div></th>
          <td>@model.releaseYear.getOrElse(com.kyleu.projectile.util.NullUtils.str)</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.languageId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Language Id</div></th>
          <td>
            <div>
              @model.languageId
            </div>
            @languageIdR.map { r =>
              <div class="card-panel grey lighten-5" style="padding: 12px; margin: 12px 0 0 0;">
                <div>
                  <a href="@controllers.admin.customer.routes.LanguageRowController.view(model.languageId)">
                    <i class="material-icons small">@models.template.Icons.languageRow</i> <strong>Language</string>
                  </a>
                </div>
                @com.kyleu.projectile.views.html.components.dataSummary(r.toSummary)
              </div>
            }
          </td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.originalLanguageId.map(_.toString.replaceAllLiterally("'", ""))')" style="cursor: pointer;">Original Language Id</div></th>
          <td>
            <div>
              @model.originalLanguageId.getOrElse(com.kyleu.projectile.util.NullUtils.str)
            </div>
            @originalLanguageIdR.map { r =>
              <div class="card-panel grey lighten-5" style="padding: 12px; margin: 12px 0 0 0;">
                <div>
                  @model.originalLanguageId.map { v =>
                    <a href="@controllers.admin.customer.routes.LanguageRowController.view(v)">
                      <i class="material-icons small">@models.template.Icons.languageRow</i> <strong>Language</string>
                    </a>
                  }
                </div>
                @com.kyleu.projectile.views.html.components.dataSummary(r.toSummary)
              </div>
            }
          </td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.rentalDuration.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Rental Duration</div></th>
          <td>@model.rentalDuration</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.rentalRate.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Rental Rate</div></th>
          <td>@model.rentalRate</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.length.map(_.toString.replaceAllLiterally("'", ""))')" style="cursor: pointer;">Length</div></th>
          <td>@model.length.getOrElse(com.kyleu.projectile.util.NullUtils.str)</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.replacementCost.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Replacement Cost</div></th>
          <td>@model.replacementCost</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.rating.map(_.toString.replaceAllLiterally("'", ""))')" style="cursor: pointer;">Rating</div></th>
          <td>@model.rating.getOrElse(com.kyleu.projectile.util.NullUtils.str)</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.lastUpdate.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Last Update</div></th>
          <td>@model.lastUpdate</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.specialFeatures.map(_.toString.replaceAllLiterally("'", ""))')" style="cursor: pointer;">Special Features</div></th>
          <td>@model.specialFeatures.map(_.mkString(", "))</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.fulltext.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Fulltext</div></th>
          <td>@model.fulltext</td>
        </tr>
      </tbody>
    </table>
  }
  @com.kyleu.projectile.services.augment.AugmentService.viewDetails.augment(model, request.queryString, cfg)
  @com.kyleu.projectile.views.html.admin.note.notes(cfg, notes, "FilmRow", "Film", model.filmId)

  <ul id="model-relations" class="collapsible" data-collapsible="expandable">
    <li id="relation-filmActorRow-filmId" data-table="filmActorRow" data-field="filmId" data-singular="Film Actor" data-plural="Film Actors" data-url="@controllers.admin.film.routes.FilmActorRowController.byFilmId(model.filmId, limit = Some(5), embedded = true)">
      <div class="collapsible-header">
        <i class="material-icons small">@models.template.Icons.filmActorRow</i>
        <span class="title">Film Actors</span>&nbsp;by Film Id
        <span class="badge" style="display: none;">
          <a class="bulk-edit-link" title="Bulk edit" href="@controllers.admin.film.routes.FilmActorRowController.byFilmIdBulkForm(model.filmId)"><i class="material-icons" style="margin-right: 0;">edit</i></a>
          <a class="view-relation-link" title="View these Film Actors" href="@controllers.admin.film.routes.FilmActorRowController.byFilmId(model.filmId)"><i class="material-icons" style="margin-right: 0;">insert_link</i></a>
        </span>
      </div>
      <div class="collapsible-body"><span>Loading...</span></div>
    </li>
    <li id="relation-filmCategoryRow-filmId" data-table="filmCategoryRow" data-field="filmId" data-singular="Film Category" data-plural="Film Categories" data-url="@controllers.admin.film.routes.FilmCategoryRowController.byFilmId(model.filmId, limit = Some(5), embedded = true)">
      <div class="collapsible-header">
        <i class="material-icons small">@models.template.Icons.filmCategoryRow</i>
        <span class="title">Film Categories</span>&nbsp;by Film Id
        <span class="badge" style="display: none;">
          <a class="bulk-edit-link" title="Bulk edit" href="@controllers.admin.film.routes.FilmCategoryRowController.byFilmIdBulkForm(model.filmId)"><i class="material-icons" style="margin-right: 0;">edit</i></a>
          <a class="view-relation-link" title="View these Film Categories" href="@controllers.admin.film.routes.FilmCategoryRowController.byFilmId(model.filmId)"><i class="material-icons" style="margin-right: 0;">insert_link</i></a>
        </span>
      </div>
      <div class="collapsible-body"><span>Loading...</span></div>
    </li>
    <li id="relation-inventoryRow-filmId" data-table="inventoryRow" data-field="filmId" data-singular="Inventory" data-plural="Inventories" data-url="@controllers.admin.store.routes.InventoryRowController.byFilmId(model.filmId, limit = Some(5), embedded = true)">
      <div class="collapsible-header">
        <i class="material-icons small">@models.template.Icons.inventoryRow</i>
        <span class="title">Inventories</span>&nbsp;by Film Id
        <span class="badge" style="display: none;">
          <a class="bulk-edit-link" title="Bulk edit" href="@controllers.admin.store.routes.InventoryRowController.byFilmIdBulkForm(model.filmId)"><i class="material-icons" style="margin-right: 0;">edit</i></a>
          <a class="view-relation-link" title="View these Inventories" href="@controllers.admin.store.routes.InventoryRowController.byFilmId(model.filmId)"><i class="material-icons" style="margin-right: 0;">insert_link</i></a>
        </span>
      </div>
      <div class="collapsible-body"><span>Loading...</span></div>
    </li>
  </ul>
  <script>$(function() { new RelationService('@controllers.admin.film.routes.FilmRowController.relationCounts(model.filmId)') });</script>

  @com.kyleu.projectile.views.html.components.includeScalaJs(debug)
}


<|start_filename|>app/views/admin/customer/rentalRowSearchResult.scala.html<|end_filename|>
@* Generated File *@
@(model: models.customer.RentalRow, hit: String)<div class="search-result">
  <div class="right">
    <i class="material-icons small">@models.template.Icons.rentalRow</i> Rental
  </div>
  <div>
    <a href="@controllers.admin.customer.routes.RentalRowController.view(model.rentalId)">@model.rentalId</a>
  </div>
  <em>@hit</em>
  <div style="margin-top: 12px;">
    <div class="chip">Rental Date: @model.rentalDate</div>
    <div class="chip">Inventory Id: @model.inventoryId</div>
    <div class="chip">Customer Id: @model.customerId</div>
    <div class="chip">Return Date: @model.returnDate</div>
    <div class="chip">Staff Id: @model.staffId</div>
  </div>
</div>


<|start_filename|>app/views/admin/address/addressRowBulkForm.scala.html<|end_filename|>
@* Generated File *@
@(cfg: com.kyleu.projectile.models.config.UiConfig, modelSeq: Seq[models.address.AddressRow], act: Call, debug: Boolean)(
    implicit request: Request[AnyContent], flash: Flash
)
@add() = {
  <div class="right"><button type="submit" class="btn @cfg.user.buttonColor" form="pks">Add</button></div>
  <div class="right"><input id="new-pks" name="new-pks" type="text" placeholder="Primary keys" form="pks" /></div>
}
@com.kyleu.projectile.views.html.layout.page(title = "Bulk Edit", cfg = cfg, icon = Some(models.template.Icons.addressRow)) {
  <form id="pks" onsubmit="bulk.addPk($('#new-pks').val());return false;"></form>
  <form id="form-edit-addressRow" action="@act" method="post">
    <input type="hidden" class="primaryKeys" name="primaryKeys" value="@modelSeq.map(m => m.addressId).mkString("//")" />
    @com.kyleu.projectile.views.html.layout.card(Some("Selected Addresses"), right = Some(add())) {
      <table id="bulk-rows">
        <thead>
          <tr>
            <th>Address Id</th>
            <th>Address</th>
            <th>Address2</th>
            <th>District</th>
            <th>City Id</th>
            <th>Postal Code</th>
            <th>Phone</th>
            <th>Last Update</th>
            <th></th>
          </tr>
        </thead>
        <tbody>
          @modelSeq.map { model =>
            @addressRowDataRow(model, Some(Html(s"<td style='text-align: right;'><a class='remove-pk' data-pk='${model.addressId}' href='' title='Remove from editing'><i class='material-icons'>close</i></a></td>")))
          }
        </tbody>
      </table>
    }
    @com.kyleu.projectile.views.html.layout.card(None) {
      <table>
        <tbody>
          @com.kyleu.projectile.views.html.components.form.textField(selected = request.queryString.isDefinedAt("address"), key = "address", title = "Address", value = request.queryString.get("address").flatMap(_.headOption).orElse(None), nullable = false)
          @com.kyleu.projectile.views.html.components.form.textField(selected = request.queryString.isDefinedAt("address2"), key = "address2", title = "Address2", value = request.queryString.get("address2").flatMap(_.headOption).orElse(None), nullable = true)
          @com.kyleu.projectile.views.html.components.form.textField(selected = request.queryString.isDefinedAt("district"), key = "district", title = "District", value = request.queryString.get("district").flatMap(_.headOption).orElse(None), nullable = false)
          @com.kyleu.projectile.views.html.components.form.autocompleteField(
            selected = request.queryString.isDefinedAt("cityId"), key = "cityId", title = "City Id", value = request.queryString.get("cityId").flatMap(_.headOption).orElse(None), nullable = false, dataType = "integer",
            call = controllers.admin.address.routes.CityRowController.autocomplete(), acType = ("cityRow", "City"), icon = models.template.Icons.cityRow, inputType = "text"
          )
          @com.kyleu.projectile.views.html.components.form.textField(selected = request.queryString.isDefinedAt("postalCode"), key = "postalCode", title = "Postal Code", value = request.queryString.get("postalCode").flatMap(_.headOption).orElse(None), nullable = true)
          @com.kyleu.projectile.views.html.components.form.textField(selected = request.queryString.isDefinedAt("phone"), key = "phone", title = "Phone", value = request.queryString.get("phone").flatMap(_.headOption).orElse(None), nullable = false)
          @com.kyleu.projectile.views.html.components.form.zonedDateTimeField(selected = request.queryString.isDefinedAt("lastUpdate"), key = "lastUpdate", title = "Last Update", value = request.queryString.get("lastUpdate").flatMap(_.headOption).map(s => com.kyleu.projectile.util.DateUtils.fromIsoStringZoned(s)).orElse(None), nullable = false)
        </tbody>
      </table>
      <br />
      <div class="right"><button type="submit" class="btn @cfg.user.buttonColor">Save <span>@modelSeq.size</span> Addresses</button></div>
      <div class="right"><a href="" onclick="window.history.go(-1);return false;" class="btn-flat cancel-link">Cancel</a></div>
      <div class="clear"></div>
    }
  </form>
}
@com.kyleu.projectile.views.html.components.includeScalaJs(debug)
@com.kyleu.projectile.views.html.components.includeAutocomplete(debug)
<script>
  $(function() { new FormService('form-edit-addressRow'); });
  var bulk;
  $(function() { bulk = new BulkEditService('form-edit-addressRow', 8); });
</script>


<|start_filename|>app/views/admin/film/filmRowList.scala.html<|end_filename|>
@* Generated File *@
@(cfg: com.kyleu.projectile.models.config.UiConfig, totalCount: Option[Int], modelSeq: Seq[models.film.FilmRow], q: Option[String], orderBy: Option[String], orderAsc: Boolean, limit: Int, offset: Int)(
    implicit request: Request[AnyContent], flash: Flash, td: com.kyleu.projectile.util.tracing.TraceData
)
@defining(com.kyleu.projectile.services.augment.AugmentService.lists.augment(models = modelSeq, args = request.queryString, cfg = cfg)) { aug =>
  @com.kyleu.projectile.views.html.admin.explore.list(
    cfg = cfg,
    model = "Film",
    modelPlural = "Films",
    icon = models.template.Icons.filmRow,
    cols = Seq(
      "filmId" -> "Film Id",
      "title" -> "Title",
      "releaseYear" -> "Release Year",
      "languageId" -> "Language Id",
      "originalLanguageId" -> "Original Language Id",
      "rentalDuration" -> "Rental Duration",
      "rentalRate" -> "Rental Rate",
      "length" -> "Length",
      "rating" -> "Rating",
      "lastUpdate" -> "Last Update",
      "fulltext" -> "Fulltext"
    ),
    totalCount = totalCount,
    rows = modelSeq.map(model => views.html.admin.film.filmRowDataRow(model, additional = aug._2.get(model).flatten)),
    orderBy = orderBy,
    orderAsc = orderAsc,
    calls = com.kyleu.projectile.models.web.ListCalls(
      newCall = Some(controllers.admin.film.routes.FilmRowController.createForm()),
      orderBy = Some(controllers.admin.film.routes.FilmRowController.list(q, _, _, Some(limit), Some(0))),
      search = Some(controllers.admin.film.routes.FilmRowController.list(None, orderBy, orderAsc, Some(limit), None)),
      next = controllers.admin.film.routes.FilmRowController.list(q, orderBy, orderAsc, Some(limit), Some(offset + limit)),
      prev = controllers.admin.film.routes.FilmRowController.list(q, orderBy, orderAsc, Some(limit), Some(offset - limit))
    ),
    limit = limit,
    offset = offset,
    q = q,
    additionalHeader = com.kyleu.projectile.services.augment.AugmentService.listHeaders.augment(cls = classOf[models.film.FilmRow], args = request.queryString, cfg = cfg),
    additionalAction = Some(Html(s"<a href='${controllers.admin.film.routes.FilmRowController.bulkEditForm()}' class='btn-flat'>Bulk Edit</a>")),
    additionalColumns = aug._1
  )
}


<|start_filename|>app/views/admin/customer/languageRowDataRow.scala.html<|end_filename|>
@* Generated File *@
@(model: models.customer.LanguageRow, additional: Option[Html] = None)<tr>
  <td>
    <a href="@controllers.admin.customer.routes.LanguageRowController.view(model.languageId)">@model.languageId</a>
  </td>
  <td>
    @model.name
  </td>
  <td>
    @model.lastUpdate
  </td>
  @additional
</tr>


<|start_filename|>app/views/admin/address/cityRowSearchResult.scala.html<|end_filename|>
@* Generated File *@
@(model: models.address.CityRow, hit: String)<div class="search-result">
  <div class="right">
    <i class="material-icons small">@models.template.Icons.cityRow</i> City
  </div>
  <div>
    <a href="@controllers.admin.address.routes.CityRowController.view(model.cityId)">@model.cityId</a>
  </div>
  <em>@hit</em>
  <div style="margin-top: 12px;">
    <div class="chip">City: @model.city</div>
    <div class="chip">Country Id: @model.countryId</div>
    <div class="chip">Last Update: @model.lastUpdate</div>
  </div>
</div>


<|start_filename|>app/views/admin/film/categoryRowView.scala.html<|end_filename|>
@* Generated File *@
@(
    cfg: com.kyleu.projectile.models.config.UiConfig,
    model: models.film.CategoryRow,
    notes: Seq[com.kyleu.projectile.models.note.Note],
    debug: Boolean
)(
    implicit request: Request[AnyContent], session: Session, flash: Flash, td: com.kyleu.projectile.util.tracing.TraceData
)@com.kyleu.projectile.views.html.layout.page(title = s"Category", cfg = cfg, icon = Some(models.template.Icons.categoryRow)) {
  @com.kyleu.projectile.services.augment.AugmentService.viewHeaders.augment(model, request.queryString, cfg)
  @com.kyleu.projectile.views.html.layout.card(None) {
    <div class="right"><a class="btn @cfg.user.buttonColor" href="@controllers.admin.film.routes.CategoryRowController.editForm(model.categoryId)">Edit</a></div>
    <div class="right"><a class="btn-flat remove-link" onclick="return confirm('Are you sure you want to remove this Category?')" href="@controllers.admin.film.routes.CategoryRowController.remove(model.categoryId)">Remove</a></div>
    <table class="highlight responsive-table">
      <tbody>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.categoryId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Category Id</div></th>
          <td>@model.categoryId</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.name.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Name</div></th>
          <td>@model.name</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.lastUpdate.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Last Update</div></th>
          <td>@model.lastUpdate</td>
        </tr>
      </tbody>
    </table>
  }
  @com.kyleu.projectile.services.augment.AugmentService.viewDetails.augment(model, request.queryString, cfg)
  @com.kyleu.projectile.views.html.admin.note.notes(cfg, notes, "CategoryRow", "Category", model.categoryId)

  <ul id="model-relations" class="collapsible" data-collapsible="expandable">
    <li id="relation-filmCategoryRow-categoryId" data-table="filmCategoryRow" data-field="categoryId" data-singular="Film Category" data-plural="Film Categories" data-url="@controllers.admin.film.routes.FilmCategoryRowController.byCategoryId(model.categoryId, limit = Some(5), embedded = true)">
      <div class="collapsible-header">
        <i class="material-icons small">@models.template.Icons.filmCategoryRow</i>
        <span class="title">Film Categories</span>&nbsp;by Category Id
        <span class="badge" style="display: none;">
          <a class="bulk-edit-link" title="Bulk edit" href="@controllers.admin.film.routes.FilmCategoryRowController.byCategoryIdBulkForm(model.categoryId)"><i class="material-icons" style="margin-right: 0;">edit</i></a>
          <a class="view-relation-link" title="View these Film Categories" href="@controllers.admin.film.routes.FilmCategoryRowController.byCategoryId(model.categoryId)"><i class="material-icons" style="margin-right: 0;">insert_link</i></a>
        </span>
      </div>
      <div class="collapsible-body"><span>Loading...</span></div>
    </li>
  </ul>
  <script>$(function() { new RelationService('@controllers.admin.film.routes.CategoryRowController.relationCounts(model.categoryId)') });</script>

  @com.kyleu.projectile.views.html.components.includeScalaJs(debug)
}


<|start_filename|>app/views/admin/store/inventoryRowView.scala.html<|end_filename|>
@* Generated File *@
@(
    cfg: com.kyleu.projectile.models.config.UiConfig,
    model: models.store.InventoryRow,
    notes: Seq[com.kyleu.projectile.models.note.Note],
    filmIdR: Option[models.film.FilmRow],
    storeIdR: Option[models.store.StoreRow],
    debug: Boolean
)(
    implicit request: Request[AnyContent], session: Session, flash: Flash, td: com.kyleu.projectile.util.tracing.TraceData
)@com.kyleu.projectile.views.html.layout.page(title = s"Inventory", cfg = cfg, icon = Some(models.template.Icons.inventoryRow)) {
  @com.kyleu.projectile.services.augment.AugmentService.viewHeaders.augment(model, request.queryString, cfg)
  @com.kyleu.projectile.views.html.layout.card(None) {
    <div class="right"><a class="btn @cfg.user.buttonColor" href="@controllers.admin.store.routes.InventoryRowController.editForm(model.inventoryId)">Edit</a></div>
    <div class="right"><a class="btn-flat remove-link" onclick="return confirm('Are you sure you want to remove this Inventory?')" href="@controllers.admin.store.routes.InventoryRowController.remove(model.inventoryId)">Remove</a></div>
    <table class="highlight responsive-table">
      <tbody>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.inventoryId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Inventory Id</div></th>
          <td>@model.inventoryId</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.filmId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Film Id</div></th>
          <td>
            <div>
              @model.filmId
            </div>
            @filmIdR.map { r =>
              <div class="card-panel grey lighten-5" style="padding: 12px; margin: 12px 0 0 0;">
                <div>
                  <a href="@controllers.admin.film.routes.FilmRowController.view(model.filmId)">
                    <i class="material-icons small">@models.template.Icons.filmRow</i> <strong>Film</string>
                  </a>
                </div>
                @com.kyleu.projectile.views.html.components.dataSummary(r.toSummary)
              </div>
            }
          </td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.storeId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Store Id</div></th>
          <td>
            <div>
              @model.storeId
            </div>
            @storeIdR.map { r =>
              <div class="card-panel grey lighten-5" style="padding: 12px; margin: 12px 0 0 0;">
                <div>
                  <a href="@controllers.admin.store.routes.StoreRowController.view(model.storeId)">
                    <i class="material-icons small">@models.template.Icons.storeRow</i> <strong>Store</string>
                  </a>
                </div>
                @com.kyleu.projectile.views.html.components.dataSummary(r.toSummary)
              </div>
            }
          </td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.lastUpdate.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Last Update</div></th>
          <td>@model.lastUpdate</td>
        </tr>
      </tbody>
    </table>
  }
  @com.kyleu.projectile.services.augment.AugmentService.viewDetails.augment(model, request.queryString, cfg)
  @com.kyleu.projectile.views.html.admin.note.notes(cfg, notes, "InventoryRow", "Inventory", model.inventoryId)

  <ul id="model-relations" class="collapsible" data-collapsible="expandable">
    <li id="relation-rentalRow-inventoryId" data-table="rentalRow" data-field="inventoryId" data-singular="Rental" data-plural="Rentals" data-url="@controllers.admin.customer.routes.RentalRowController.byInventoryId(model.inventoryId, limit = Some(5), embedded = true)">
      <div class="collapsible-header">
        <i class="material-icons small">@models.template.Icons.rentalRow</i>
        <span class="title">Rentals</span>&nbsp;by Inventory Id
        <span class="badge" style="display: none;">
          <a class="bulk-edit-link" title="Bulk edit" href="@controllers.admin.customer.routes.RentalRowController.byInventoryIdBulkForm(model.inventoryId)"><i class="material-icons" style="margin-right: 0;">edit</i></a>
          <a class="view-relation-link" title="View these Rentals" href="@controllers.admin.customer.routes.RentalRowController.byInventoryId(model.inventoryId)"><i class="material-icons" style="margin-right: 0;">insert_link</i></a>
        </span>
      </div>
      <div class="collapsible-body"><span>Loading...</span></div>
    </li>
  </ul>
  <script>$(function() { new RelationService('@controllers.admin.store.routes.InventoryRowController.relationCounts(model.inventoryId)') });</script>

  @com.kyleu.projectile.views.html.components.includeScalaJs(debug)
}


<|start_filename|>app/views/index.scala.html<|end_filename|>
@(cfg: com.kyleu.projectile.models.config.UiConfig, devmode: Boolean)(
    implicit flash: Flash
)@com.kyleu.projectile.views.html.layout.page(util.Version.projectName, cfg) {
  @com.kyleu.projectile.views.html.layout.card(Some(s"Welcome to ${cfg.projectName}")) {
    <p>
      Boilerplay is a starting point for building your own applications.
      Most of the code was generated by <a href="https://kyleu.com/projectile">Projectile</a>.
      See the <a href="https://kyleu.com/boilerplay">documentation</a> or <a href="https://github.com/KyleU/boilerplay/">browse the source</a> for details.
    </p>
  }
}


<|start_filename|>app/views/admin/payment/paymentRowByStaffId.scala.html<|end_filename|>
@* Generated File *@
@(cfg: com.kyleu.projectile.models.config.UiConfig, staffId: Int, modelSeq: Seq[models.payment.PaymentRow], orderBy: Option[String], orderAsc: Boolean, limit: Int, offset: Int)(
    implicit request: Request[AnyContent], flash: Flash, td: com.kyleu.projectile.util.tracing.TraceData
)
@defining(com.kyleu.projectile.services.augment.AugmentService.lists.augment(models = modelSeq, args = request.queryString, cfg = cfg)) { aug =>
  @com.kyleu.projectile.views.html.admin.explore.list(
    cfg = cfg,
    model = "Payment",
    modelPlural = "Payments",
    icon = models.template.Icons.paymentRow,
    cols = Seq(
      "paymentId" -> "Payment Id",
      "customerId" -> "Customer Id",
      "staffId" -> "Staff Id",
      "rentalId" -> "Rental Id",
      "amount" -> "Amount"
    ),
    orderBy = orderBy,
    orderAsc = orderAsc,
    totalCount = None,
    rows = modelSeq.map(model => views.html.admin.payment.paymentRowDataRow(model, additional = aug._2.get(model).flatten)),
    calls = com.kyleu.projectile.models.web.ListCalls(
      orderBy = Some(controllers.admin.payment.routes.PaymentRowController.byStaffId(staffId, _, _, Some(limit), Some(0))),
      search = None,
      next = controllers.admin.payment.routes.PaymentRowController.byStaffId(staffId, orderBy, orderAsc, Some(limit), Some(offset + limit)),
      prev = controllers.admin.payment.routes.PaymentRowController.byStaffId(staffId, orderBy, orderAsc, Some(limit), Some(offset - limit)),
    ),
    limit = limit,
    offset = offset,
    q = None,
    additionalHeader = com.kyleu.projectile.services.augment.AugmentService.listHeaders.augment(cls = classOf[models.payment.PaymentRow], args = request.queryString, cfg = cfg),
    additionalColumns = aug._1,
    fullUI = false
  )
}


<|start_filename|>app/views/admin/store/staffRowView.scala.html<|end_filename|>
@* Generated File *@
@(
    cfg: com.kyleu.projectile.models.config.UiConfig,
    model: models.store.StaffRow,
    notes: Seq[com.kyleu.projectile.models.note.Note],
    storeIdR: Option[models.store.StoreRow],
    addressIdR: Option[models.address.AddressRow],
    debug: Boolean
)(
    implicit request: Request[AnyContent], session: Session, flash: Flash, td: com.kyleu.projectile.util.tracing.TraceData
)@com.kyleu.projectile.views.html.layout.page(title = s"Staff", cfg = cfg, icon = Some(models.template.Icons.staffRow)) {
  @com.kyleu.projectile.services.augment.AugmentService.viewHeaders.augment(model, request.queryString, cfg)
  @com.kyleu.projectile.views.html.layout.card(None) {
    <div class="right"><a class="btn @cfg.user.buttonColor" href="@controllers.admin.store.routes.StaffRowController.editForm(model.staffId)">Edit</a></div>
    <div class="right"><a class="btn-flat remove-link" onclick="return confirm('Are you sure you want to remove this Staff?')" href="@controllers.admin.store.routes.StaffRowController.remove(model.staffId)">Remove</a></div>
    <table class="highlight responsive-table">
      <tbody>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.staffId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Staff Id</div></th>
          <td>@model.staffId</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.firstName.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">First Name</div></th>
          <td>@model.firstName</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.lastName.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Last Name</div></th>
          <td>@model.lastName</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.addressId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Address Id</div></th>
          <td>
            <div>
              @model.addressId
            </div>
            @addressIdR.map { r =>
              <div class="card-panel grey lighten-5" style="padding: 12px; margin: 12px 0 0 0;">
                <div>
                  <a href="@controllers.admin.address.routes.AddressRowController.view(model.addressId)">
                    <i class="material-icons small">@models.template.Icons.addressRow</i> <strong>Address</string>
                  </a>
                </div>
                @com.kyleu.projectile.views.html.components.dataSummary(r.toSummary)
              </div>
            }
          </td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.email.map(_.toString.replaceAllLiterally("'", ""))')" style="cursor: pointer;">Email</div></th>
          <td>@model.email.getOrElse(com.kyleu.projectile.util.NullUtils.str)</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.storeId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Store Id</div></th>
          <td>
            <div>
              @model.storeId
            </div>
            @storeIdR.map { r =>
              <div class="card-panel grey lighten-5" style="padding: 12px; margin: 12px 0 0 0;">
                <div>
                  <a href="@controllers.admin.store.routes.StoreRowController.view(model.storeId)">
                    <i class="material-icons small">@models.template.Icons.storeRow</i> <strong>Store</string>
                  </a>
                </div>
                @com.kyleu.projectile.views.html.components.dataSummary(r.toSummary)
              </div>
            }
          </td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.active.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Active</div></th>
          <td>@com.kyleu.projectile.views.html.components.form.booleanDisplay(model.active)</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.username.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Username</div></th>
          <td>@model.username</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.password.map(_.toString.replaceAllLiterally("'", ""))')" style="cursor: pointer;">Password</div></th>
          <td>@model.password.getOrElse(com.kyleu.projectile.util.NullUtils.str)</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.lastUpdate.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Last Update</div></th>
          <td>@model.lastUpdate</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.picture.map(_.toString.replaceAllLiterally("'", ""))')" style="cursor: pointer;">Picture</div></th>
          <td>@model.picture.getOrElse(com.kyleu.projectile.util.NullUtils.str)</td>
        </tr>
      </tbody>
    </table>
  }
  @com.kyleu.projectile.services.augment.AugmentService.viewDetails.augment(model, request.queryString, cfg)
  @com.kyleu.projectile.views.html.admin.note.notes(cfg, notes, "StaffRow", "Staff", model.staffId)

  <ul id="model-relations" class="collapsible" data-collapsible="expandable">
    <li id="relation-paymentRow-staffId" data-table="paymentRow" data-field="staffId" data-singular="Payment" data-plural="Payments" data-url="@controllers.admin.payment.routes.PaymentRowController.byStaffId(model.staffId, limit = Some(5), embedded = true)">
      <div class="collapsible-header">
        <i class="material-icons small">@models.template.Icons.paymentRow</i>
        <span class="title">Payments</span>&nbsp;by Staff Id
        <span class="badge" style="display: none;">
          <a class="bulk-edit-link" title="Bulk edit" href="@controllers.admin.payment.routes.PaymentRowController.byStaffIdBulkForm(model.staffId)"><i class="material-icons" style="margin-right: 0;">edit</i></a>
          <a class="view-relation-link" title="View these Payments" href="@controllers.admin.payment.routes.PaymentRowController.byStaffId(model.staffId)"><i class="material-icons" style="margin-right: 0;">insert_link</i></a>
        </span>
      </div>
      <div class="collapsible-body"><span>Loading...</span></div>
    </li>
    <li id="relation-rentalRow-staffId" data-table="rentalRow" data-field="staffId" data-singular="Rental" data-plural="Rentals" data-url="@controllers.admin.customer.routes.RentalRowController.byStaffId(model.staffId, limit = Some(5), embedded = true)">
      <div class="collapsible-header">
        <i class="material-icons small">@models.template.Icons.rentalRow</i>
        <span class="title">Rentals</span>&nbsp;by Staff Id
        <span class="badge" style="display: none;">
          <a class="bulk-edit-link" title="Bulk edit" href="@controllers.admin.customer.routes.RentalRowController.byStaffIdBulkForm(model.staffId)"><i class="material-icons" style="margin-right: 0;">edit</i></a>
          <a class="view-relation-link" title="View these Rentals" href="@controllers.admin.customer.routes.RentalRowController.byStaffId(model.staffId)"><i class="material-icons" style="margin-right: 0;">insert_link</i></a>
        </span>
      </div>
      <div class="collapsible-body"><span>Loading...</span></div>
    </li>
  </ul>
  <script>$(function() { new RelationService('@controllers.admin.store.routes.StaffRowController.relationCounts(model.staffId)') });</script>

  @com.kyleu.projectile.views.html.components.includeScalaJs(debug)
}


<|start_filename|>app/views/admin/address/addressRowSearchResult.scala.html<|end_filename|>
@* Generated File *@
@(model: models.address.AddressRow, hit: String)<div class="search-result">
  <div class="right">
    <i class="material-icons small">@models.template.Icons.addressRow</i> Address
  </div>
  <div>
    <a href="@controllers.admin.address.routes.AddressRowController.view(model.addressId)">@model.addressId</a>
  </div>
  <em>@hit</em>
  <div style="margin-top: 12px;">
    <div class="chip">Address: @model.address</div>
    <div class="chip">Address2: @model.address2</div>
    <div class="chip">District: @model.district</div>
    <div class="chip">City Id: @model.cityId</div>
    <div class="chip">Postal Code: @model.postalCode</div>
    <div class="chip">Phone: @model.phone</div>
    <div class="chip">Last Update: @model.lastUpdate</div>
  </div>
</div>


<|start_filename|>app/views/admin/customer/rentalRowView.scala.html<|end_filename|>
@* Generated File *@
@(
    cfg: com.kyleu.projectile.models.config.UiConfig,
    model: models.customer.RentalRow,
    notes: Seq[com.kyleu.projectile.models.note.Note],
    staffIdR: Option[models.store.StaffRow],
    inventoryIdR: Option[models.store.InventoryRow],
    customerIdR: Option[models.customer.CustomerRow],
    debug: Boolean
)(
    implicit request: Request[AnyContent], session: Session, flash: Flash, td: com.kyleu.projectile.util.tracing.TraceData
)@com.kyleu.projectile.views.html.layout.page(title = s"Rental", cfg = cfg, icon = Some(models.template.Icons.rentalRow)) {
  @com.kyleu.projectile.services.augment.AugmentService.viewHeaders.augment(model, request.queryString, cfg)
  @com.kyleu.projectile.views.html.layout.card(None) {
    <div class="right"><a class="btn @cfg.user.buttonColor" href="@controllers.admin.customer.routes.RentalRowController.editForm(model.rentalId)">Edit</a></div>
    <div class="right"><a class="btn-flat remove-link" onclick="return confirm('Are you sure you want to remove this Rental?')" href="@controllers.admin.customer.routes.RentalRowController.remove(model.rentalId)">Remove</a></div>
    <table class="highlight responsive-table">
      <tbody>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.rentalId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Rental Id</div></th>
          <td>@model.rentalId</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.rentalDate.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Rental Date</div></th>
          <td>@model.rentalDate</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.inventoryId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Inventory Id</div></th>
          <td>
            <div>
              @model.inventoryId
            </div>
            @inventoryIdR.map { r =>
              <div class="card-panel grey lighten-5" style="padding: 12px; margin: 12px 0 0 0;">
                <div>
                  <a href="@controllers.admin.store.routes.InventoryRowController.view(model.inventoryId)">
                    <i class="material-icons small">@models.template.Icons.inventoryRow</i> <strong>Inventory</string>
                  </a>
                </div>
                @com.kyleu.projectile.views.html.components.dataSummary(r.toSummary)
              </div>
            }
          </td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.customerId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Customer Id</div></th>
          <td>
            <div>
              @model.customerId
            </div>
            @customerIdR.map { r =>
              <div class="card-panel grey lighten-5" style="padding: 12px; margin: 12px 0 0 0;">
                <div>
                  <a href="@controllers.admin.customer.routes.CustomerRowController.view(model.customerId)">
                    <i class="material-icons small">@models.template.Icons.customerRow</i> <strong>Customer</string>
                  </a>
                </div>
                @com.kyleu.projectile.views.html.components.dataSummary(r.toSummary)
              </div>
            }
          </td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.returnDate.map(_.toString.replaceAllLiterally("'", ""))')" style="cursor: pointer;">Return Date</div></th>
          <td>@model.returnDate.getOrElse(com.kyleu.projectile.util.NullUtils.str)</td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.staffId.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Staff Id</div></th>
          <td>
            <div>
              @model.staffId
            </div>
            @staffIdR.map { r =>
              <div class="card-panel grey lighten-5" style="padding: 12px; margin: 12px 0 0 0;">
                <div>
                  <a href="@controllers.admin.store.routes.StaffRowController.view(model.staffId)">
                    <i class="material-icons small">@models.template.Icons.staffRow</i> <strong>Staff</string>
                  </a>
                </div>
                @com.kyleu.projectile.views.html.components.dataSummary(r.toSummary)
              </div>
            }
          </td>
        </tr>
        <tr>
          <th style="vertical-align: top;"><div title="Click to copy" onclick="ClipboardUtils.writeClipboard('@model.lastUpdate.toString.replaceAllLiterally("'", "")')" style="cursor: pointer;">Last Update</div></th>
          <td>@model.lastUpdate</td>
        </tr>
      </tbody>
    </table>
  }
  @com.kyleu.projectile.services.augment.AugmentService.viewDetails.augment(model, request.queryString, cfg)
  @com.kyleu.projectile.views.html.admin.note.notes(cfg, notes, "RentalRow", "Rental", model.rentalId)

  <ul id="model-relations" class="collapsible" data-collapsible="expandable">
    <li id="relation-paymentRow-rentalId" data-table="paymentRow" data-field="rentalId" data-singular="Payment" data-plural="Payments" data-url="@controllers.admin.payment.routes.PaymentRowController.byRentalId(model.rentalId, limit = Some(5), embedded = true)">
      <div class="collapsible-header">
        <i class="material-icons small">@models.template.Icons.paymentRow</i>
        <span class="title">Payments</span>&nbsp;by Rental Id
        <span class="badge" style="display: none;">
          <a class="bulk-edit-link" title="Bulk edit" href="@controllers.admin.payment.routes.PaymentRowController.byRentalIdBulkForm(model.rentalId)"><i class="material-icons" style="margin-right: 0;">edit</i></a>
          <a class="view-relation-link" title="View these Payments" href="@controllers.admin.payment.routes.PaymentRowController.byRentalId(model.rentalId)"><i class="material-icons" style="margin-right: 0;">insert_link</i></a>
        </span>
      </div>
      <div class="collapsible-body"><span>Loading...</span></div>
    </li>
  </ul>
  <script>$(function() { new RelationService('@controllers.admin.customer.routes.RentalRowController.relationCounts(model.rentalId)') });</script>

  @com.kyleu.projectile.views.html.components.includeScalaJs(debug)
}


<|start_filename|>app/views/admin/film/actorRowDataRow.scala.html<|end_filename|>
@* Generated File *@
@(model: models.film.ActorRow, additional: Option[Html] = None)<tr>
  <td>
    <a href="@controllers.admin.film.routes.ActorRowController.view(model.actorId)">@model.actorId</a>
  </td>
  <td>
    @model.firstName
  </td>
  <td>
    @model.lastName
  </td>
  <td>
    @model.lastUpdate
  </td>
  @additional
</tr>


<|start_filename|>app/views/admin/address/addressRowDataRow.scala.html<|end_filename|>
@* Generated File *@
@(model: models.address.AddressRow, additional: Option[Html] = None)<tr>
  <td>
    <a href="@controllers.admin.address.routes.AddressRowController.view(model.addressId)">@model.addressId</a>
  </td>
  <td>
    @model.address
  </td>
  <td>
    @model.address2
  </td>
  <td>
    @model.district
  </td>
  <td>
    @model.cityId
    <a href="@controllers.admin.address.routes.CityRowController.view(model.cityId)">
      <i class="material-icons small">@models.template.Icons.cityRow</i>
    </a>
  </td>
  <td>
    @model.postalCode
  </td>
  <td>
    @model.phone
  </td>
  <td>
    @model.lastUpdate
  </td>
  @additional
</tr>


<|start_filename|>app/views/admin/address/countryRowSearchResult.scala.html<|end_filename|>
@* Generated File *@
@(model: models.address.CountryRow, hit: String)<div class="search-result">
  <div class="right">
    <i class="material-icons small">@models.template.Icons.countryRow</i> Country
  </div>
  <div>
    <a href="@controllers.admin.address.routes.CountryRowController.view(model.countryId)">@model.countryId</a>
  </div>
  <em>@hit</em>
  <div style="margin-top: 12px;">
    <div class="chip">Country: @model.country</div>
    <div class="chip">Last Update: @model.lastUpdate</div>
  </div>
</div>
