{@args heading: String, token: String, cs: Changeset, action: String, cats: [OpinionhubCategory], back: String} {@import opinionhub/opinionhub_categories}

{heading}

{if not (changeset_valid cs)}

Please correct the fields marked below.

{end}
    {for e: String in field_errors cs "category"}
  • {html translated e}
  • {end}
    {for e: String in field_errors cs "title"}
  • {html translated e}
  • {end}

Markdown works: *emphasis*, **strong**, `code`, lists, quotes with > and code blocks between ```; ```ridgun colours Ridgun.

    {for e: String in field_errors cs "body"}
  • {html translated e}
  • {end}
{if field_checked cs "private"} {else} {end}

Cancel