123456789101112131415161718192021222324252627282930313233343536373839 |
- {extends file='main.tpl'}
- {block name="title"}
- <title>Crear usuario</title>
- {/block}
- {block name="content"}
- <p>
- <strong>
- Create user
- </strong>
- </p>
- <h2>{$message}</h2>
- <a href="users.php?page=read">Ir a lista</a>
- <form action="{$smarty.server.PHP_SELF}" method="post">
- <div class="fhide">
- <label for="page">Page: </label>
- <input type="text" name="page" value="create"/>
- </div>
- <div>
- <label for="rol">Es cliente: </label>
- <input type="checkbox" name="rol" value="{$rol}" checked>
- </div>
- <div>
- <label for="name">Nuevo usuario: </label>
- <input type="text" name="name" value="{$name}">
- </div>
- <div>
- <label for="password">Nueva Contraseña: </label>
- <input type="text" name="password" value="{$password}">
- </div>
- <div>
- <input type="submit" value="Registrar">
- </div>
- </form>
- {/block}
|