forked from alemi/upub
fix(web): dont use two object_id fields
This commit is contained in:
parent
7c5b3fca1f
commit
83b545649f
1 changed files with 3 additions and 5 deletions
|
@ -135,9 +135,10 @@ pub fn AdvancedPostBox(username: Signal<Option<String>>, advanced: WriteSignal<b
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<div class:hidden=move|| !embedded.get()>
|
|
||||||
<input class="w-100" type="text" node_ref=object_id_ref title="objectId" placeholder="objectId" />
|
|
||||||
|
|
||||||
|
<input class="w-100" type="text" node_ref=object_id_ref title="objectId" placeholder="objectId" />
|
||||||
|
|
||||||
|
<div class:hidden=move|| !embedded.get()>
|
||||||
<input class="w-100" type="text" node_ref=summary_ref title="summary" placeholder="summary" />
|
<input class="w-100" type="text" node_ref=summary_ref title="summary" placeholder="summary" />
|
||||||
|
|
||||||
<input class="w-100" type="text" node_ref=name_ref title="name" placeholder="name" />
|
<input class="w-100" type="text" node_ref=name_ref title="name" placeholder="name" />
|
||||||
|
@ -146,9 +147,6 @@ pub fn AdvancedPostBox(username: Signal<Option<String>>, advanced: WriteSignal<b
|
||||||
|
|
||||||
<textarea rows="5" class="w-100" node_ref=content_ref title="content" placeholder="content" ></textarea>
|
<textarea rows="5" class="w-100" node_ref=content_ref title="content" placeholder="content" ></textarea>
|
||||||
</div>
|
</div>
|
||||||
<div class:hidden=embedded>
|
|
||||||
<input class="w-100" type="text" node_ref=object_id_ref title="objectId" placeholder="objectId" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<table class="w-100 align">
|
<table class="w-100 align">
|
||||||
<tr>
|
<tr>
|
||||||
|
|
Loading…
Reference in a new issue