create.tpl 904 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. {extends file='main.tpl'}
  2. {block name="title"}
  3. <title>Crear usuario</title>
  4. {/block}
  5. {block name="content"}
  6. <p>
  7. <strong>
  8. Create user
  9. </strong>
  10. </p>
  11. <h2>{$message}</h2>
  12. <a href="users.php?page=read">Ir a lista</a>
  13. <form action="{$smarty.server.PHP_SELF}" method="post">
  14. <div class="fhide">
  15. <label for="page">Page: </label>
  16. <input type="text" name="page" value="create"/>
  17. </div>
  18. <div>
  19. <label for="rol">Es cliente: </label>
  20. <input type="checkbox" name="rol" value="{$rol}" checked>
  21. </div>
  22. <div>
  23. <label for="name">Nuevo usuario: </label>
  24. <input type="text" name="name" value="{$name}">
  25. </div>
  26. <div>
  27. <label for="password">Nueva Contraseña: </label>
  28. <input type="text" name="password" value="{$password}">
  29. </div>
  30. <div>
  31. <input type="submit" value="Registrar">
  32. </div>
  33. </form>
  34. {/block}