CHeckbox editable only by admin
Posted: Sun Oct 09, 2016 10:03 am
Here is a testpage I am working on. Thanks to many of you during recent week, the page seems to be shaped as expected. I like to include is a checbox for each item in restarant's menu showing if that specific item is actually available. This shall be controled by admin. The checkbox is there but aditable only by visitiors (or in preview by admin too). How to make it to have it editable only in backend and readonly for visitors?
[ external image ]
the used code is (used/copied/pasted for all meals):
[ external image ]
the used code is (used/copied/pasted for all meals):
Code: Select all
<h3>Predjedlo 1</h3>
<div>
<div>
<a class="zoom" href="./userfiles/images/restauracia/kuchyna_02.jpg"><img class="jedlo" src="./userfiles/images/restauracia/kuchyna_02.jpg" alt="Demo" width="800" height="600"></a>
</div>
<div>Popis</div>
<div>Porcia</div>
<div>Cena</div>
<div>Poznámka (dezert, nápoj)</div>
<div class="v_ponuke">
<input id="v_ponuke" type="checkbox" name="check" value="None" checked="checked"><label for="v_ponuke">Dnes v ponuke</label>
</div>
</div>