File tree Expand file tree Collapse file tree 2 files changed +6
-26
lines changed Expand file tree Collapse file tree 2 files changed +6
-26
lines changed Original file line number Diff line number Diff line change 17
17
filter :created_at
18
18
19
19
form do |f |
20
- f . inputs do
20
+ f . inputs "Admin Details" do
21
21
f . input :email
22
22
f . input :password
23
23
f . input :password_confirmation
Original file line number Diff line number Diff line change 1
1
ActiveAdmin . register_page "Dashboard" do
2
2
3
- menu priority : 1 , label : proc { I18n . t ( "active_admin.dashboard" ) }
3
+ menu priority : 1 , label : proc { I18n . t ( "active_admin.dashboard" ) }
4
4
5
- content title : proc { I18n . t ( "active_admin.dashboard" ) } do
5
+ content title : proc { I18n . t ( "active_admin.dashboard" ) } do
6
6
div class : "blank_slate_container" , id : "dashboard_default_message" do
7
7
span class : "blank_slate" do
8
- span I18n . t ( "active_admin.dashboard_welcome.welcome" )
9
- small I18n . t ( "active_admin.dashboard_welcome.call_to_action" )
8
+ h1 "default"
10
9
end
11
10
end
11
+ end
12
12
13
- # Here is an example of a simple dashboard with columns and panels.
14
- #
15
- # columns do
16
- # column do
17
- # panel "Recent Posts" do
18
- # ul do
19
- # Post.recent(5).map do |post|
20
- # li link_to(post.title, admin_post_path(post))
21
- # end
22
- # end
23
- # end
24
- # end
25
-
26
- # column do
27
- # panel "Info" do
28
- # para "Welcome to ActiveAdmin."
29
- # end
30
- # end
31
- # end
32
- end # content
33
- end
13
+ end
You can’t perform that action at this time.
0 commit comments