diff --git a/app/views/box_organizer/edit.rhtml b/app/views/box_organizer/edit.rhtml index e1dd4e2..61cf156 100644 --- a/app/views/box_organizer/edit.rhtml +++ b/app/views/box_organizer/edit.rhtml @@ -22,7 +22,7 @@ <%= label_tag('block_display_never', _("Don't display")) %> - <%= labelled_form_field(_('Show for:'), select(:block, :language, [ [ _('all languages'), 'all']] + environment.locales.map {|key, value| [value, key]} )) %> + <%= labelled_form_field(_('Show for:'), select(:block, :language, [ [ _('all languages'), 'all']] + environment.locales.map {|key, value| [value, key]} )) %> <% button_bar do %> <%= submit_button(:save, _('Save')) %> diff --git a/app/views/tasks/_approve_article_accept_details.rhtml b/app/views/tasks/_approve_article_accept_details.rhtml index d3862d9..fd35293 100644 --- a/app/views/tasks/_approve_article_accept_details.rhtml +++ b/app/views/tasks/_approve_article_accept_details.rhtml @@ -1,7 +1,7 @@ <%= render :file => 'shared/tiny_mce' %> <%= labelled_form_field(_('Name for publishing'), f.text_field(:name)) %> -<%= select_profile_folder(_('Select the folder where the article must be published'), "tasks[#{task.id}][task]", 'article_parent_id', task.target) %> +<%= select_profile_folder(_('Select the folder where the article must be published'), "tasks[#{task.id}][task][article_parent_id]", task.target) %> <%= labelled_form_field(_('Highlight this article'), f.check_box(:highlighted)) %> <% tiny = task.article && task.article.tiny_mce? ? {:tiny_mce => true} : {} %> diff --git a/app/views/tasks/_suggest_article_accept_details.rhtml b/app/views/tasks/_suggest_article_accept_details.rhtml index dd4028b..759e165 100644 --- a/app/views/tasks/_suggest_article_accept_details.rhtml +++ b/app/views/tasks/_suggest_article_accept_details.rhtml @@ -6,7 +6,7 @@ <%= labelled_form_field(_('Source'), f.text_field(:source_name)) %> <%= labelled_form_field(_("Source URL"), f.text_field(:source)) %> -<%= select_profile_folder(_('Select the folder where the article must be published'), "tasks[#{task.id}][task]", 'article_parent_id', task.target) %> +<%= select_profile_folder(_('Select the folder where the article must be published'), "tasks[#{task.id}][task][article_parent_id]", task.target) %> <%= labelled_form_field(_('Highlight this article'), f.check_box(:highlighted)) %> <%= render :partial => 'shared/lead_and_body', :locals => {:tiny_mce => true, :f => f, :abstract_method => 'article_abstract', :body_method => 'article_body', :lead_id => task.id} %> -- libgit2 0.21.2