open-vault/ui/lib/replication/addon/templates/mode/secondaries/config-edit.hbs
Matthew Irish d52de63602 Fix replication test (#7747)
* fix replication acceptance test

* remove unused import

* remove mountType
2019-10-28 16:56:11 +00:00

31 lines
833 B
Handlebars

<Toolbar/>
<div class="box is-fullwidth is-shadowless is-marginless">
<h4 class="title is-5 is-marginless">
Edit path filter config for <code>{{model.config.id}}</code>
</h4>
</div>
<form {{action "saveConfig" model.config on="submit"}}>
<PathFilterConfigList
@paths={{model.paths}}
@config={{model.config}}
/>
<div class="field is-grouped is-grouped-split is-fullwidth box is-bottomless">
<div class="field is-grouped">
<div class="control">
<button type="submit" class="button is-primary" data-test-config-save>
Update
</button>
</div>
<div class="control">
{{#link-to
"mode.secondaries.config-show"
model.config.id
class="button"
}}
Cancel
{{/link-to}}
</div>
</div>
</div>
</form>