Skip to content

Commit

Permalink
Clarify delete button and hide it when not needed on microsite based on
Browse files Browse the repository at this point in the history
feedback from Erin Weigel.
  • Loading branch information
lukasvermeer committed Mar 4, 2024
1 parent 9011bbc commit 2599bd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions microsite/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ <h2>Sample Ratio Mismatch (SRM) Checker</h2>
<input v-model="item[1]" type="number" step="any" min="0" max="1" pattern="\d*" class="form-control" id="exp-{{ index }}" placeholder="Expected ratio"/>
</div>
<div class="form-group col-xs-2 text-center">
<label for="del-{{ index }}">Del #{{ index+1 }}</label>
<button v-on:click="dropArm(index)" class="btn btn-default" type="button" role="button" aria-pressed="true">X</button>
<label v-if="input.arms.length > 2" for="del-{{ index }}">Delete #{{ index+1 }}</label>
<button v-if="input.arms.length > 2" v-on:click="dropArm(index)" class="btn btn-default" type="button" role="button" aria-pressed="true">X</button>
</div>
</div>
<div class="form-group text-center">
Expand Down

0 comments on commit 2599bd3

Please sign in to comment.