Skip to content

Commit 1b2a3ca

Browse files
committed
Merge pull request railsadminteam#2117 from johanneskrtek/patch-1
Update export.html.haml
2 parents 01d2bd8 + 4d086c1 commit 1b2a3ca

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

app/views/rails_admin/main/export.html.haml

+7-6
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55

66
%input{name: "send_data", type: "hidden", value: "true"}/
77
%fieldset{id: 'fields_to_export'}
8-
%div.control-group
9-
%div.controls
8+
%legend
9+
%i.icon-chevron-down
10+
= t('admin.export.select')
11+
.control-group
12+
.controls
1013
.col-sm-2
1114
%label.col-sm-10.checkbox{for: 'check_all'}
1215
= check_box_tag 'all', 'all', true, { id: 'check_all' }
1316
= t('admin.export.select_all_fields')
14-
%legend
15-
%i.icon-chevron-down
16-
= t('admin.export.select')
1717
.control-group
1818
%label.col-sm-2.control-label{rel: 'tooltip', :'data-original-title' => t('admin.export.click_to_reverse_selection'), onclick: 'jQuery(this).siblings(".controls").find("input").click()'}= t('admin.export.fields_from', name: @model_config.label_plural.downcase)
1919
.col-sm-10.controls
@@ -58,7 +58,8 @@
5858
.control-group
5959
%label.col-sm-2.control-label{for: "csv_options_skip_header"}= t('admin.export.csv.skip_header')
6060
.col-sm-10.controls
61-
= check_box_tag 'csv_options[skip_header]', 'true'
61+
%label.checkbox
62+
= check_box_tag 'csv_options[skip_header]', 'true'
6263
%p.help-block= t('admin.export.csv.skip_header_help')
6364

6465
.control-group

0 commit comments

Comments
 (0)