Show inline editing always.
This commit is contained in:
parent
01e9ad534f
commit
fa7926eee1
1 changed files with 7 additions and 7 deletions
|
@ -9,13 +9,13 @@
|
||||||
<div class="profile-section">
|
<div class="profile-section">
|
||||||
<div class="profile-details horizontal wrap">
|
<div class="profile-details horizontal wrap">
|
||||||
<% for row in @userData: %>
|
<% for row in @userData: %>
|
||||||
<% if @user[row.name]: %>
|
|
||||||
<% if row.tag is 'richtext': %>
|
<% if row.tag is 'richtext': %>
|
||||||
<div class="profile-detailsEntry" style="width: 100%;">
|
<div class="profile-detailsEntry" style="width: 100%;">
|
||||||
<label><%- @Ti( row.display ) %></label>
|
<label><%- @Ti( row.display ) %></label>
|
||||||
<div contenteditable="true" data-name="<%= row.name %>" data-type="update" data-placeholder="<%- @T('Add a Note') %>"><%- @user[row.name] %></div>
|
<div contenteditable="true" data-name="<%= row.name %>" data-type="update" data-placeholder="<%- @T('Add a Note') %>"><%- @user[row.name] %></div>
|
||||||
</div>
|
</div>
|
||||||
<% else: %>
|
<% else: %>
|
||||||
|
<% if @user[row.name]: %>
|
||||||
<div class="profile-detailsEntry">
|
<div class="profile-detailsEntry">
|
||||||
<label><%- @Ti( row.display ) %></label>
|
<label><%- @Ti( row.display ) %></label>
|
||||||
<%- @L( @P( @user[row.name] ) ) %>
|
<%- @L( @P( @user[row.name] ) ) %>
|
||||||
|
|
Loading…
Reference in a new issue