mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Updated name field workflow in character actor.
This commit is contained in:
parent
3fc1ce8bad
commit
66924c530f
2 changed files with 58 additions and 13 deletions
|
|
@ -2,12 +2,22 @@
|
|||
<line-div></line-div>
|
||||
<div class="name-row">
|
||||
<h1 class='actor-name'>
|
||||
<input
|
||||
type='text'
|
||||
name='name'
|
||||
value='{{document.name}}'
|
||||
placeholder='{{localize "DAGGERHEART.GENERAL.actorName"}}'
|
||||
/>
|
||||
<div class="name-wrapper">
|
||||
<input
|
||||
type='text'
|
||||
name='name'
|
||||
id='actor-name-{{document.id}}'
|
||||
value='{{document.name}}'
|
||||
placeholder='{{localize "DAGGERHEART.GENERAL.actorName"}}'
|
||||
/>
|
||||
<label for="actor-name-{{document.id}}">
|
||||
{{#if document.name}}
|
||||
{{document.name}}
|
||||
{{else}}
|
||||
<span>{{localize "DAGGERHEART.GENERAL.actorName"}}</span>
|
||||
{{/if}}
|
||||
</label>
|
||||
</div>
|
||||
</h1>
|
||||
|
||||
<div class='level-div'>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue