/* FORM ROWS */
.form-row { overflow:hidden; padding:8px 12px; font-size:11px; border-bottom:1px solid #eee; }
.form-row img { vertical-align:middle; }
-.form-row input { vertical-align:middle; width: 300px; }
+.form-row input[type=text] { vertical-align:middle; width: 300px; }
.form-row textarea { width: 300px; height: 180px; }
.form-row select[multiple] { width: 300px; height: 180px; }
form .form-row p { padding-left:0; font-size:11px; }
{block bodyclass}change-list{/block}
-{block breadcrumbs}<div class="breadcrumbs"><a href="{url 'IPF_Admin_Views_Index'}">{trans 'Home'}</a> » {$classname}</div>{/block}
+{block breadcrumbs}<div class="breadcrumbs"><a href="{url 'IPF_Admin_Views_Index'}">{trans 'Home'}</a> » {$page_title}</div>{/block}
{block content}
<div id="content" class="flex">
parent::__construct($attrs);
}
- public function render($name, $value, $extra_attrs=array(), $choices=array())
+ public function render($name, $value, $extra_attrs=array())
{
- $output = array();
- if ($value === null) {
+ if ($value === null)
$value = '';
- }
+
$select = Tag::select($this->attrs)
->attrs($extra_attrs)
->attr('name', $name);
- $choices = $this->choices + $choices;
- foreach ($choices as $option_label => $option_value) {
+ foreach ($this->choices as $option_label => $option_value) {
$select->append(Tag::option()
->attr('value', $option_value)
->toggleAttr('selected', 'selected', $option_value == $value)