<commit_before>form(action="/edge-save", method="post", enctype="multipart/form-data")
  input(name="id", type="hidden", value=edge?edge.id: 'new')
  .control
    label(for="name") Nombre: 
    input(name="name", type="text", value=edge?edge.name:'')
  .control
    label(for="type") Tipo: 
    input(name="type", type="text", value=edge?edge.type:'')

  .control
    label(for="node_from") Desde: 
    select.chosen-select(name="node_from")
      - each node in nodes
        option(value=node.id, selected=edge ? node.id == edge.node_from : false)=node.name

  .control
    label(for="node_to") Hasta: 
    select.chosen-select(name="node_to")
      - each node in nodes
        option(value=node.id, selected=edge ? node.id == edge.node_to : false)=node.name
  .control
    label(for="date") Fecha
    input(name="date", type="date", value=edge ?edge.dateIso : '')
  .control
    label(for="description") Descripción: 
    .toolbar
       include _toolbar-editor.jade
    textarea.wyshtml5(name="description")=edge?edge.description:''
  .control
    a.button(href="/admin") Volver
    |       
    input.button-primary(type="submit", value="Guardar")<commit_msg>Se oculta la fecha de los edges.<commit_after>form(action="/edge-save", method="post", enctype="multipart/form-data")
  input(name="id", type="hidden", value=edge?edge.id: 'new')
  .control
    label(for="name") Nombre: 
    input(name="name", type="text", value=edge?edge.name:'')
  .control
    label(for="type") Tipo: 
    input(name="type", type="text", value=edge?edge.type:'')

  .control
    label(for="node_from") Desde: 
    select.chosen-select(name="node_from")
      - each node in nodes
        option(value=node.id, selected=edge ? node.id == edge.node_from : false)=node.name

  .control
    label(for="node_to") Hasta: 
    select.chosen-select(name="node_to")
      - each node in nodes
        option(value=node.id, selected=edge ? node.id == edge.node_to : false)=node.name
  //- .control
  //-   label(for="date") Fecha
    input(name="date", type="hidden", value=edge ?edge.dateIso : '')
  .control
    label(for="description") Descripción: 
    .toolbar
       include _toolbar-editor.jade
    textarea.wyshtml5(name="description")=edge?edge.description:''
  .control
    a.button(href="/admin") Volver
    |       
    input.button-primary(type="submit", value="Guardar")
{'fraction_non_alphanumeric': 0.17592200084781687, 'fraction_numerical': 0.000847816871555744, 'mean_word_length': 3.7389558232931726, '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': '4783636', 'n_tokens_mistral': 807, 'n_tokens_neox': 792, 'n_words': 133}