1
0
mirror of https://codeberg.org/diginaut/digimarks.git synced 2026-02-04 11:30:27 +01:00
Files
digimarks/templates/edit.html

46 lines
1.7 KiB
HTML

{% extends "base.html" %}
{% block title %}{{ action }}{% endblock %}
{% block pageheader %}{{ action }}{% endblock %}
{% block pagecontent %}
<div class="row">
<form class="col s12" action="{{ url_for('addingbookmark', userkey=userkey) }}" method="POST">
<div class="input-field col s12">
<i class="material-icons prefix">description</i>
<input placeholder="title" type="text" id="title" value="{{ title }}" class="validate" />
<label for="title">Title</label>
</div>
<div class="input-field col s12">
<i class="material-icons prefix">turned_in</i>
<input placeholder="url" type="text" id="url" value="{{ url }}" class="validate" />
<label for="url">URL</label>
</div>
<div class="input-field col s12">
<i class="material-icons prefix">label</i>
<input placeholder="tags, supported by comma's" type="text" id="tags" value="{{ tags }}" class="validate" />
<label for="tags">Tags</label>
</div>
<div class="input-field col s12">
{#<i class="material-icons prefix">star</i>#}
<div class="switch">
<label>
Normal
<input type="checkbox" id="starred">
<span class="lever"></span>
Starred
</label>
</div>
</div>
<div class="input-field col m12">
<p class="left-align"><button class="btn btn-large waves-effect waves-light" type="submit" name="action">Save</button></p>
</div>
{# <input type="submit" value="Save" /> #}
</form>
</div>
{% endblock %}