Skip to content
Snippets Groups Projects
Commit 6f0796fc authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Radio button fixes.

parent b365e5ba
No related merge requests found
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -48,9 +48,9 @@ body {
.btn-success,.btn-success:hover {border-color:darken(@brand-success, 12%);font-weight:bold;}
.btn-warning,.btn-warning:hover {border-color:darken(@brand-warning, 12%);font-weight:bold;}
h2 {margin:0 8px 8px}
input[type=checkbox] {
margin-top:2px;
input[type="radio"], input[type="checkbox"] {
margin:0 auto;
margin-top:2px;
padding:0 2px;
}
.nav > li > a {
......
......@@ -34,12 +34,16 @@
<div class="form-group">
<label class="col-sm-3 control-label"><?=$this->transEsc('Access') ?></label>
<div class="col-sm-9">
<label class="radio inline">
<input id="list_public_1" type="radio" name="public" value="1"<? if ($this->list->isPublic()): ?> checked="checked"<? endif; ?>/> <?=$this->transEsc('Public') ?>
</label>
<label class="radio inline">
<input id="list_public_0" type="radio" name="public" value="0"<? if (!$this->list->isPublic()): ?> checked="checked"<? endif; ?>/> <?=$this->transEsc('Private') ?>
</label>
<div class="radio inline">
<label>
<input id="list_public_1" type="radio" name="public" value="1"<? if ($this->list->isPublic()): ?> checked="checked"<? endif; ?>/> <?=$this->transEsc('Public') ?>
</label>
</div>
<div class="radio inline">
<label>
<input id="list_public_0" type="radio" name="public" value="0"<? if (!$this->list->isPublic()): ?> checked="checked"<? endif; ?>/> <?=$this->transEsc('Private') ?>
</label>
</div>
</div>
</div>
<? endif; ?>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment