Don't display input boxes for disabled/readonly fields
This commit is contained in:
parent
b03d7457a7
commit
3b99aa2d73
@ -26,11 +26,11 @@
|
||||
<form class="ui form" method="POST" enctype="multipart/form-data">
|
||||
<div class="ui disabled inline grid field">
|
||||
<label class="three wide column">ID</label>
|
||||
<input class="eleven wide column" type="text" name="id" value="{{ item.id if item.id != None else '' }}">
|
||||
<div class="eleven wide column">{{ item.id if item.id != None else '' }}</div>
|
||||
</div>
|
||||
<div class="ui disabled inline grid field">
|
||||
<label class="three wide column">Author</label>
|
||||
<input class="eleven wide column" type="text" name="author" value="{{ item.author.email }}">
|
||||
<div class="eleven wide column">{{ item.author.email }}</div>
|
||||
</div>
|
||||
<div class="ui required inline grid field">
|
||||
<label class="three wide column">Title</label>
|
||||
|
Loading…
Reference in New Issue
Block a user