2022-07-04 17:58:50 -04:00
|
|
|
<div class="body-row">
|
2022-07-04 21:10:08 -04:00
|
|
|
<TextField
|
2022-07-04 17:58:50 -04:00
|
|
|
@value={{bodyRowValue}}
|
|
|
|
@class="table-builder-input"
|
|
|
|
@placeholderKey={{theme-prefix "discourse_table_builder.modal.body"}}
|
|
|
|
{{on "change" this.addBodyValue}}
|
|
|
|
/>
|
|
|
|
<DButton
|
|
|
|
@icon="plus"
|
|
|
|
@title={{theme-prefix "discourse_table_builder.modal.buttons.add_row"}}
|
|
|
|
@action={{action "addRow"}}
|
|
|
|
/>
|
|
|
|
<DButton
|
|
|
|
@icon="trash-alt"
|
|
|
|
@class="btn-danger"
|
|
|
|
@title={{theme-prefix "discourse_table_builder.modal.buttons.remove_row"}}
|
|
|
|
@action={{action "removeRow"}}
|
|
|
|
@disabled={{this.disableRemoveRow}}
|
|
|
|
/>
|
2022-07-04 21:10:08 -04:00
|
|
|
</div>
|