mirror of https://github.com/rancher/ui.git
25 lines
614 B
Handlebars
25 lines
614 B
Handlebars
<div class="row">
|
|
<label>{{t "formIngress.label"}}</label>
|
|
</div>
|
|
<hr/>
|
|
{{#each rules as |rule|}}
|
|
{{form-ingress-rows
|
|
editing=editing
|
|
ingress=ingress
|
|
namespace=namespace
|
|
removeRule=(action "removeRule")
|
|
rule=rule
|
|
rules=rules
|
|
}}
|
|
{{else}}
|
|
<div class="p-20">{{t "formIngress.noRules"}}</div>
|
|
{{/each}}
|
|
|
|
{{#if editing}}
|
|
<div class="row">
|
|
<button class="btn bg-link icon-btn pull-right" type="button" {{action "addRule"}}>
|
|
<span class="darken"><i class="icon icon-plus text-small"></i></span>
|
|
<span>{{t "formIngress.addRuleLabel"}}</span>
|
|
</button>
|
|
</div>
|
|
{{/if}} |