Add checkbox to set note as private. When note is private then no one can see them from non local network.

This commit is contained in:
kplaczek
2018-09-19 20:04:35 +02:00
parent 31e65c4730
commit fcfc0bd58a
4 changed files with 31 additions and 19 deletions

View File

@@ -33,6 +33,11 @@
@if(isset($id))
<button class="ui delete button js-delete red" type="submit" name="delete">Usuń</button>
@endif
<div class="ui @if(isset($private) && $private == 1) checked @endif checkbox">
<input name="private" id="private" @if(isset($private) && $private == 1) checked="checked" @endif value="1" type="checkbox">
<label for="private">Prywatna notatka</label>
</div>
</form>