]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge pull request #21529 from ricardoasmarques/wip-fix-rbd-form
authorLenz Grimmer <lenz@grimmer.com>
Thu, 26 Apr 2018 09:44:20 +0000 (11:44 +0200)
committerGitHub <noreply@github.com>
Thu, 26 Apr 2018 09:44:20 +0000 (11:44 +0200)
mgr/dashboard: Display RBD form errors on submission

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
1  2 
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.component.html

index 878b0631aef4101d4f81220780ae74458c83cb36,f069f35d162febda4f5055d53dd6f418e82b70e3..538468306fd6fccd5602991ff7c931d7b69d5092
        </div>
        <div class="panel-footer">
          <div class="button-group text-right">
-           <cd-submit-button [form]="rbdForm"
+           <cd-submit-button [form]="formDir"
                              type="button"
                              (submitAction)="submit()">
 -            <span i18n>{editing, select, 1 {Update} other {Create}}</span> RBD
 +            <span i18n>{mode, select, editing {Update} cloning {Clone} copying {Copy} other {Create}}</span> RBD
            </cd-submit-button>
            <button i18n
                    type="button"