|
@ -13,9 +13,8 @@ |
|
|
<form role="form" style="margin-top: 20px;" id="note_form"> |
|
|
<form role="form" style="margin-top: 20px;" id="note_form"> |
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
<div class="form-group"> |
|
|
<label for="note_bookmark"><code>bookmark</code></label> |
|
|
|
|
|
|
|
|
<label for="note_bookmark"><code>bookmark-of</code></label> |
|
|
<input type="text" id="note_bookmark" value="<?= $this->bookmark_url ?>" class="form-control"> |
|
|
<input type="text" id="note_bookmark" value="<?= $this->bookmark_url ?>" class="form-control"> |
|
|
<p class="help-block">Note: This will be changing to <code>bookmark-of</code> in the near future. It is best for your code to accept both for now.</p> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
<div class="form-group"> |
|
@ -78,7 +77,7 @@ $(function(){ |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
$.post("/micropub/post", { |
|
|
$.post("/micropub/post", { |
|
|
bookmark: $("#note_bookmark").val(), |
|
|
|
|
|
|
|
|
'bookmark-of': $("#note_bookmark").val(), |
|
|
name: $("#note_name").val(), |
|
|
name: $("#note_name").val(), |
|
|
content: $("#note_content").val(), |
|
|
content: $("#note_content").val(), |
|
|
category: $("#note_category").val(), |
|
|
category: $("#note_category").val(), |
|
|