<div class="oh-roll-dialog oh-weapon-dialog">

  <div class="weapon-header">
    <img src="{{itemImg}}" class="weapon-img-sm" alt="{{itemName}}" />
    <div class="weapon-header-info">
      <span class="weapon-name-lg">{{itemName}}</span>
      <div class="weapon-badges">
        {{#if dv}}<span class="roll-color-badge color-badge-white">DV {{dv}}</span>{{/if}}
      </div>
    </div>
  </div>

  <fieldset class="attack-options-block">
    <legend>{{localize "OATHHAMMER.Dialog.Options"}}</legend>

    <div class="roll-option-row">
      <label>{{localize "OATHHAMMER.Dialog.DicePool"}}</label>
      <select name="dicePool">
        {{#each poolOptions}}<option value="{{value}}"{{#if selected}} selected{{/if}}>{{label}}</option>{{/each}}
      </select>
    </div>

    <div class="roll-option-row">
      <label>{{localize "OATHHAMMER.Dialog.Modifier"}}</label>
      <select name="bonus">
        {{#each bonusOptions}}<option value="{{value}}"{{#if selected}} selected{{/if}}>{{label}}</option>{{/each}}
      </select>
    </div>

    {{#if showColor}}
    <div class="roll-option-row">
      <label>{{localize "OATHHAMMER.Dialog.DiceColor"}}</label>
      <select name="colorOverride">
        <option value="">— {{localize "OATHHAMMER.Dialog.Default"}} (white) —</option>
        {{selectOptions colorChoices selected=""}}
      </select>
    </div>
    {{/if}}

    <div class="roll-option-row">
      <label>{{localize "OATHHAMMER.Dialog.ExplodeOn5"}}</label>
      <input type="checkbox" name="explodeOn5" value="true" />
    </div>

  </fieldset>

  <fieldset class="roll-visibility-block">
    <legend>{{localize "OATHHAMMER.Dialog.Visibility"}}</legend>
    <select name="visibility">
      {{selectOptions rollModes selected=visibility localize=true}}
    </select>
  </fieldset>

</div>
