[#242] check boxs checked by default

This commit is contained in:
Alexander Machehin 2013-08-07 15:29:49 +06:00
parent a6b0831761
commit 789b4e2cb4
1 changed files with 2 additions and 2 deletions

View File

@ -2,10 +2,10 @@
%h3= t 'layout.build_lists.last_build_lists'
%h4= t 'layout.relations.filters'
.both
= check_box_tag :owner_filter_build_lists, true, params[:owner_filter] == 'true'
= check_box_tag :owner_filter_build_lists, true, (params[:owner_filter] || 'true') == 'true'
= label_tag t('layout.build_lists.only_my_build_lists')
.both
= check_box_tag :status_filter_build_lists, true, params[:status_filter] == 'true'
= check_box_tag :status_filter_build_lists, true, (params[:status_filter] || 'true') == 'true'
= label_tag t('layout.build_lists.failed_build_lists')
- columns, default_column = [], {:type => 'html', :sortable => false, :searchable => false}