<form class="app-personnage-aleatoire">
  <h2>{{actor.name}}</h2>
  <div class="flex-group-left">
    {{#if options.isGM}}
    {{>"systems/foundryvtt-reve-de-dragon/templates/actor/random/champ-aleatoire.hbs"
      label="Nom" fieldname="name" type="text" value=current.name checked=checked.name
    }}
    {{/if}}
    {{>"systems/foundryvtt-reve-de-dragon/templates/actor/random/sexe-aleatoire.hbs"
      label="Sexe" fieldname="sexe" type="text"
      value=current.sexe checked=checked.sexe
    }}
    {{>"systems/foundryvtt-reve-de-dragon/templates/actor/random/champ-aleatoire.hbs"
      label="Age" fieldname="age" type="entier" min=10 max=100
      value=current.age checked=checked.age
    }}
    {{>"systems/foundryvtt-reve-de-dragon/templates/actor/random/champ-aleatoire.hbs"
      label="Taille" fieldname="taille" type="text"
      value=current.taille checked=checked.taille
    }}
    {{>"systems/foundryvtt-reve-de-dragon/templates/actor/random/champ-aleatoire.hbs"
      label="Poids" fieldname="poids" type="text"
      value=current.poids checked=checked.poids
    }}
    {{>"systems/foundryvtt-reve-de-dragon/templates/actor/random/champ-aleatoire.hbs"
      label="Main directrice" fieldname="main" type="text"
      value=current.main checked=checked.main
    }}
    {{>"systems/foundryvtt-reve-de-dragon/templates/actor/random/champ-aleatoire.hbs"
      label="Heure de naissance" fieldname="heure" type="heure"
      value=current.heure checked=checked.heure
    }}
    {{>"systems/foundryvtt-reve-de-dragon/templates/actor/random/champ-aleatoire.hbs"
      label="Cheveux" fieldname="cheveux" type="text"
      value=current.cheveux checked=checked.cheveux
    }}
    {{>"systems/foundryvtt-reve-de-dragon/templates/actor/random/champ-aleatoire.hbs"
      label="Yeux" fieldname="yeux" type="text"
      value=current.yeux checked=checked.yeux
    }}
  </div>
  <hr>
  <div class="random-char-right">
    <a class="chat-card-button randomize-selected">Générer les valeurs sélectionnés</a>
  </div>
  <br>
  <div class="flexrow buttons">
  <button type="button" class="button-cancel">Annuler</button>
  <button type="button" class="button-apply">Appliquer à {{actor.name}}</button>
  </div>
  <br>
</form>

