Show inline editing always.

This commit is contained in:
Martin Edenhofer 2015-02-06 13:44:55 +01:00
parent 01e9ad534f
commit fa7926eee1

View file

@ -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] ) ) %>