views: refactor post flag and appeal reasons.
* Prefer partials over helpers. * Add css classes to flag/appeal reason lists. * Wrap dtext in span.prose container.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
module Moderator
|
||||
class DashboardsController < ApplicationController
|
||||
before_action :member_only
|
||||
helper :post_flags, :post_appeals
|
||||
|
||||
def show
|
||||
@dashboard = Moderator::Dashboard::Report.new(**search_params.to_h.symbolize_keys)
|
||||
|
||||
Reference in New Issue
Block a user