1
0
mirror of https://github.com/aquatix/digimarks.git synced 2025-12-06 23:05:10 +01:00

Fix for adding bookmark

This commit is contained in:
2016-07-18 16:43:34 +02:00
parent 533f036131
commit 38cfc0a3de
2 changed files with 9 additions and 18 deletions

View File

@@ -8,36 +8,30 @@
<div class="input-field col s12">
<i class="material-icons prefix">description</i>
<input placeholder="title" type="text" id="title" value="{{ title }}" class="validate" />
<input placeholder="title" type="text" name="title" id="title" value="{{ bookmark.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" />
<input placeholder="url" type="text" name="url" id="url" value="{{ bookmark.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" />
<input placeholder="tags, supported by comma's" type="text" name="tags" id="tags" value="{{ bookmark.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>
<input type="checkbox" name="starred" id="starred" />
<label for="starred">Starred</label>
</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>
<p class="left-align"><button class="btn btn-large waves-effect waves-light" type="submit" name="submit">Save</button></p>
</div>
{# <input type="submit" value="Save" /> #}
</form>