<form method='POST' action='/notas/save'>
  <div class="container-fluid">
    <input type='hidden' name='creador' 
	value='{{#if creador }}crear{{else}}cambiar{{/if}}'>
    <div class="form-group row align-items-center">
	<label for="clavenota" class="col-1 col-form-label">Clave</label>
	{{#if creador }}
		<div class="col">
		  <input type='text' class='form-control'
		  name='clavenota' value=''/>
		</div>
	{{else}}
	        {{#if nota }}
		<span class="input-group-text">{{clavenota}}</span>
		{{/if}}
		<input type='hidden' name='clavenota'
			value='{{#if nota }}{{clavenota}}{{/if}}'/>
	{{/if}}
    </div>

    <div class="form-group row">
	<label for="titulo" class="col-1 col-form-label">Titulo</label>
	<div class="col">
		<input type='text' name='titulo'
			value='{{#if nota }}{{nota.titulo}}{{/if}}' />
	</div>
    </div>

    <div class="form-group row">
	<textarea class="form-control" rows=5 cols=40 
	name='cuerpo'>{{#if nota }}{{nota.cuerpo}}{{/if}}</textarea>
    </div>
    <input type='submit' class="btn btn-default" value='Subir' />
  </div>
</form>
