{{#if isNotifyUser}}
  <h3>{{formattedName}}</h3>
  <div class="controls">
    <label class="radio">
      <input id="radio_{{flag.name_key}}" {{action "changePostActionType" flag}} type="radio" name="post_action_type_index">

      <div class="flag-action-type-details">
        <span class="description">{{html-safe flag.description}}</span>
        {{#if showMessageInput}}
          {{textarea name="message" class="flag-message" placeholder=customPlaceholder value=message}}
          <div class="custom-message-length {{customMessageLengthClasses}}">{{customMessageLength}}</div>
        {{/if}}
      </div>
    </label>
  </div>
  {{#if staffFlagsAvailable}}
    <hr>
    <h3>{{i18n "flagging.notify_staff"}}</h3>
  {{/if}}
{{else}}
  <div class="controls {{flag.name_key}}">
    <label class="radio">
      <input id="radio_{{flag.name_key}}" {{action "changePostActionType" flag}} type="radio" name="post_action_type_index">
      <div class="flag-action-type-details">
        <strong>{{formattedName}}</strong>
        {{#if showDescription}}
          <div class="description">{{html-safe description}}</div>
        {{/if}}
        {{#if showMessageInput}}
          {{textarea name="message" class="flag-message" placeholder=customPlaceholder value=message}}
          <div class="custom-message-length {{customMessageLengthClasses}}">{{customMessageLength}}</div>
        {{/if}}
      </div>
    </label>
  </div>
{{/if}}
