stash
This commit is contained in:
parent
7b1a081cdd
commit
2c77077859
4 changed files with 106 additions and 0 deletions
|
|
@ -6,6 +6,24 @@
|
|||
<div class="card">
|
||||
<div class="card-header">Create New Item</div>
|
||||
<div class="card-body">
|
||||
<div class="mb-3">
|
||||
<ul>
|
||||
<li v-for="tag in item.tags" :key="tag">
|
||||
{{ tag }}
|
||||
</li>
|
||||
</ul>
|
||||
<label for="tags" class="form-label">Tags</label>
|
||||
<tag-field :value="item.tags"></tag-field>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<ul>
|
||||
<li v-for="property in item.properties" :key="property">
|
||||
{{ property.name }}: {{ property.value }}
|
||||
</li>
|
||||
</ul>
|
||||
<label for="property" class="form-label">Property</label>
|
||||
<property-field :value="item.properties"></property-field>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="name" class="form-label">Name</label>
|
||||
<input type="text" class="form-control" id="name" name="name"
|
||||
|
|
@ -45,6 +63,9 @@
|
|||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<button type="submit" class="btn btn-primary" @click="createInventoryItem(item)">Add</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue