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:
@@ -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>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user