Move buttons
#CTCTOWALTZ-2624
<h4>Rating Detail:</h4>
+<div style="padding: 1em 0">
+
+ {#if canLock}
+ <button class="btn btn-skinny"
+ on:click={onLock}>
+ <Icon name="lock"/>
+ Lock
+ </button>
+ {/if}
+
+ {#if canUnlock}
+ <button class="btn btn-skinny"
+ on:click={onUnlock}>
+ <Icon name="unlock"/>
+ Unlock
+ </button>
+ {/if}
+
+ {#if canRemove}
+ <button class="btn btn-skinny"
+ on:click={onRemove}>
+ <Icon name="trash"/>
+ Remove
+ </button>
+ {/if}
+
+ <button class="btn btn-skinny"
+ on:click={onCancel}>
+ <Icon name="times"/>
+ Cancel
+ </button>
+
+</div>
+
{#if $selectedRating}
+
<div class="form-group">
<label for="rating">
Rating
</div>
{/if}
- {#if canLock}
- <button class="btn btn-skinny"
- on:click={onLock}>
- <Icon name="lock"/>
- Lock
- </button>
{/if}
-
- {#if canUnlock}
- <button class="btn btn-skinny"
- on:click={onUnlock}>
- <Icon name="unlock"/>
- Unlock
- </button>
- {/if}
-
- {#if canRemove}
- <button class="btn btn-skinny"
- on:click={onRemove}>
- <Icon name="trash"/>
- Remove
- </button>
- {/if}
-{/if}
-<button class="btn btn-skinny"
- on:click={onCancel}>
- <Icon name="times"/>
- Cancel
-</button>
\ No newline at end of file
