Was confused with the comment field, only used for 14 items, which I manually merged without problems.
This commit is contained in:
@@ -149,8 +149,6 @@ class InventoryItemForm(CustomForm):
|
||||
inventory = FormField(InventoryForm)
|
||||
hardware = FormField(HardwareForm)
|
||||
shortener = FormField(ShortenerForm)
|
||||
_description_placeholder = "Insert Markdown here."
|
||||
description = TextAreaField('Description', [validators.optional(), validators.length(max=3000)], render_kw={"placeholder": _description_placeholder})
|
||||
location = StringField('Location')
|
||||
def setup_defaults_add(self):
|
||||
setup_default_owner(self.inventory.form.owner.form.username)
|
||||
|
@@ -116,10 +116,6 @@
|
||||
<div class="placeholder-dark chips">
|
||||
<input style="width: auto !important;">
|
||||
</div>
|
||||
<h5>Description</h5>
|
||||
<p class="auto-height placeholder-dark">
|
||||
{{ form.description(rows='15',cols='100') }}
|
||||
</p>
|
||||
|
||||
<button class="btn waves-effect waves-light" type="submit" name="action">Submit
|
||||
<i class="material-icons right">send</i>
|
||||
|
@@ -141,10 +141,6 @@
|
||||
{% for tag in item.tags %}
|
||||
<div class="chip"> {{ tag }} </div>
|
||||
{% endfor %}
|
||||
<h3>Description</h3>
|
||||
<p class="auto-height">
|
||||
{{ item.description | markdown }}
|
||||
</p>
|
||||
|
||||
<h3>Photo</h3>
|
||||
{% if item.has_photo %}
|
||||
|
@@ -52,11 +52,6 @@
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<h3>Description</h3>
|
||||
<p class="auto-height">
|
||||
{{ item.description | markdown }}
|
||||
</p>
|
||||
|
||||
<h3>Photo</h3>
|
||||
{% if item.has_photo %}
|
||||
<img src="{{ photo_url }}" alt="" style="max-width: 800px; width: 100%;">
|
||||
|
Reference in New Issue
Block a user