<li class="flexrow"><label class="item-field-label-long">Has Effect Roll ?</label>
  <label class="item-field-label-medium"><input type="checkbox" name="system.haseffectroll" {{checked
      system.haseffectroll}} /></label>
</li>

{{#if system.haseffectroll}}
  <li class="flexrow"><label class="item-field-label-long">Effect Roll</label>
    <select class="item-field-label-long" type="text" name="system.effectroll" value="{{system.effectroll}}"
      data-dtype="String">
      {{#select system.effectroll}}
      {{#each config.powerEffectRoll as |name key|}}
      <option value="{{key}}">{{name}}</option>
      {{/each}}
      {{/select}}
    </select>    
  </li>
  <li class="flexrow"><label class="item-field-label-long">Effect roll formula</label>
    <input type="text" class="item-field-label-long" name="system.effectrollformula" value="{{system.effectrollformula}}" data-dtype="String"/>
  </li>
{{/if}}