<commit_before>extends ./base.jade
block append style
    link(rel="stylesheet", type="text/css", href="/assets/style.css")
block body
  nav
    .navlink
      a(href="/logout") Log out
    .navlink
      a(href="/maker") Your Characters
  section#editCharacters
    if !characters || characters.length == 0
        div.character
            h3.emptyCharacter No characters yet
    else
        each val in characters
            div.character
                form.editCharacterForm(class="editCharacterForm", name="editCharacterForm", action="/editor", method="POST")
                  label(for="name") Name: #{val.name}
                  input.characterName(type="hidden", name="name", placeholder="#{val.name}")
                  label(for="age") Age: 
                  input.characterAge(type="text", name="age", placeholder="#{val.age}")
                  label(for="profession") Class:
                  input.characterProfession(type="text", name="profession", placeholder="#{val.profession}")
                  label(for="race") Race: 
                  input.characterRace(type="text", name="race", placeholder="#{val.race}")
                  input(type="hidden", name="_csrf", value="#{csrfToken}")
                  input(type="hidden", name="id", value="#{val.id}")
                  button.editCharacterSubmit(class="editCharacterSubmit", href="#") Edit Character
  #characterMessage
    img#speech(src="/assets/img/speech.png", alt="speech box")
    h3
      span#errorMessage
block scripts
        script(src="/assets/maker.js")<commit_msg>fixed error in edit characters<commit_after>extends ./base.jade
block append style
    link(rel="stylesheet", type="text/css", href="/assets/style.css")
block body
  nav
    .navlink
      a(href="/logout") Log out
    .navlink
      a(href="/maker") Your Characters
  section#editCharacters
    if !characters || characters.length == 0
        div.character
            h3.emptyCharacter No characters yet
    else
        each val in characters
            div.character
                form.editCharacterForm(class="editCharacterForm", name="editCharacterForm", action="/editor", method="POST")
                  label(for="name") Name: #{val.name}
                  input.characterName(type="hidden", name="name", value="#{val.name}")
                  label(for="age") Age: 
                  input.characterAge(type="text", name="age", placeholder="#{val.age}")
                  label(for="profession") Class:
                  input.characterProfession(type="text", name="profession", placeholder="#{val.profession}")
                  label(for="race") Race: 
                  input.characterRace(type="text", name="race", placeholder="#{val.race}")
                  input(type="hidden", name="_csrf", value="#{csrfToken}")
                  input(type="hidden", name="id", value="#{val.id}")
                  button.editCharacterSubmit(class="editCharacterSubmit", href="#") Edit Character
  #characterMessage
    img#speech(src="/assets/img/speech.png", alt="speech box")
    h3
      span#errorMessage
block scripts
        script(src="/assets/maker.js")
{'fraction_non_alphanumeric': 0.14966421490246243, 'fraction_numerical': 0.0019187719859290054, 'mean_word_length': 2.607843137254902, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1319485', 'n_tokens_mistral': 855, 'n_tokens_neox': 820, 'n_words': 161}