Fix bug.
This commit is contained in:
parent
86eb202d2b
commit
fe124800ca
|
@ -36,7 +36,7 @@
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<%= f.label :allow_domain, t("ruling_template.allow_domain"), :class => "control-label muted" %>
|
<%= f.label :allow_domain, t("ruling_template.allow_domain"), :class => "control-label muted" %>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<%= f.text_field :allow_domain, placeholder: 'example.com' %>
|
<%= f.text_field :allow_domain, placeholder: 'example.com', :value=>(f.object.allow_domain.class==Array ? f.object.allow_domain.join(",") : f.object.allow_domain) %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
|
|
Loading…
Reference in New Issue