File tree 2 files changed +8
-5
lines changed
app/views/rails_admin/main
2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1
1
[ WIP] - RailsAdmin Rollincode Sortable Section
2
2
--------------------
3
3
4
- Screenshot soon !
4
+ ![ screenshort]
5
+ (http://i.imgur.com/ndh99X3.jpg )
5
6
6
7
This section provides the behavior of sortable model in rails_admin.
7
8
Jquery UI sortable is used.
8
9
10
+ All call are done in AJAX
11
+
9
12
** You have to load sortable gem before rails_admin one.**
10
13
11
14
In gemfile
49
52
50
53
` label_method ` is used for showing the model name (eg: title, etc)
51
54
52
- ` position_method ` is used for the model position method
55
+ ` position_method ` is used for the model position method and is ** mandatory **
53
56
54
57
#### TODO ####
55
58
56
- - [ ] Logic
57
- - [ ] Design
59
+ - [X ] Logic
60
+ - [X ] Design
58
61
- [ ] Test
59
62
- [ ] Translation
60
63
- [ ] Refactoring
Original file line number Diff line number Diff line change 1
1
< div class ="alert-status "> </ div >
2
2
3
3
< em >
4
- <%= t 'helper_soratble ' %>
4
+ <%= t 'helper_sortable ' %>
5
5
</ em >
6
6
7
7
< br />
You can’t perform that action at this time.
0 commit comments