Implement the description editing (closes #150)
This commit is contained in:
parent
fc065a5234
commit
97ac56dadc
4 changed files with 34 additions and 3 deletions
|
|
@ -2,10 +2,16 @@
|
|||
<div class="photo panel" style="background: yellowgreen"></div>
|
||||
{{#if meta.isEditable}}
|
||||
<input type="text" name="name" class="name panel h1" value="{{item.name}}">
|
||||
<textarea
|
||||
name="system.description"
|
||||
class="description panel no-resize"
|
||||
>{{system.description}}</textarea>
|
||||
{{else}}
|
||||
<h1 class="name panel--row">
|
||||
{{item.name}}
|
||||
</h1>
|
||||
<div class="description panel">
|
||||
{{system.description}}
|
||||
</div>
|
||||
{{/if}}
|
||||
<div class="description panel"></div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue