Commit a39440b0bf3b6a6ffe900969073ac2dc2ada1a6d
1 parent
57484551
Exists in
master
and in
29 other branches
Fixed problem with form submit
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/controllers/my_profile/profile_design_controller.rb
... | ... | @@ -5,7 +5,7 @@ class ProfileDesignController < BoxOrganizerController |
5 | 5 | protect 'edit_profile_design', :profile |
6 | 6 | |
7 | 7 | def available_blocks |
8 | - blocks = [ ArticleBlock, TagsBlock, RecentDocumentsBlock, ProfileInfoBlock, LinkListBlock, MyNetworkBlock, FeedReaderBlock, ProfileImageBlock, LocationBlock, SlideshowBlock, ProfileSearchBlock ] | |
8 | + blocks = [ ArticleBlock, TagsBlock, RecentDocumentsBlock, ProfileInfoBlock, LinkListBlock, MyNetworkBlock, FeedReaderBlock, ProfileImageBlock, LocationBlock, SlideshowBlock, ProfileSearchBlock, HighlightsBlock ] | |
9 | 9 | |
10 | 10 | # blocks exclusive for organizations |
11 | 11 | if profile.has_members? | ... | ... |
app/views/box_organizer/add_block.rhtml
... | ... | @@ -3,7 +3,7 @@ |
3 | 3 | <p><%= _('In what area do you want to put your new block?') %></p> |
4 | 4 | |
5 | 5 | <% @boxes.each do |box| %> |
6 | - <%= radio_button_tag 'box-position', box.id, box.central?, { :class => 'box-position', 'data-position' => box.position } %> | |
6 | + <%= radio_button_tag 'box_id', box.id, box.central?, { :class => 'box-position', 'data-position' => box.position } %> | |
7 | 7 | <%= label_tag _("Area %d") % box.position %> |
8 | 8 | <% end %> |
9 | 9 | ... | ... |