Keep the filter form hidden by default

This commit is contained in:
simov
2014-01-04 21:39:40 +02:00
parent a2458b2e0c
commit ce5ae772eb
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -39,6 +39,7 @@
.x-filter .panel-footer .form-group div.col-lg-3:last-child { text-align: right; }
.x-filter .panel-footer button { width: auto; }
.x-filter.x-hidden .panel-footer { border-top: 0; }
.x-filter.x-collapsed { display: none; }
/*editview*/
+1 -1
View File
@@ -1,5 +1,5 @@
<form action="{{root}}/{{view.slug}}" method="post" accept-charset="utf-8" class="panel panel-default x-filter {{^have}}x-hidden{{/have}}">
<form action="{{root}}/{{view.slug}}" method="post" accept-charset="utf-8" class="panel panel-default x-filter {{^have}}x-hidden{{/have}} {{^show}}x-collapsed{{/show}}">
{{#have}}
<div class="panel-heading">
<h3 class="panel-title">{{string.filter}}</h3>