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:
evazion
2019-09-18 03:20:26 -05:00
parent 49f91a6100
commit 312adb772d
8 changed files with 43 additions and 59 deletions

View File

@@ -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)