menu déroulant pour les méthodes de test des Condition
This commit is contained in:
parent
c923f75332
commit
ba97d0a49e
|
@ -29,7 +29,7 @@
|
|||
|
||||
<div class="field">
|
||||
<%= form.label :test_method %>
|
||||
<%= form.text_field :test_method %>
|
||||
<%= form.select :test_method, I18n.t("condition.test_methods").map { |key, value| [value, key] } %>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<p id="notice"><%= notice %></p>
|
||||
|
||||
|
||||
<%= turbo_frame_tag "filter" do %>
|
||||
<%= render @filter %>
|
||||
|
||||
|
|
|
@ -31,3 +31,15 @@
|
|||
|
||||
en:
|
||||
hello: "Hello world"
|
||||
|
||||
condition:
|
||||
test_methods:
|
||||
match: "matches"
|
||||
equal: "is equal to"
|
||||
start: "starts with"
|
||||
end: "ends with"
|
||||
contain: "contains"
|
||||
exist: "exists"
|
||||
empty: "is empty"
|
||||
date_before: "date is before"
|
||||
date_after: "date is after"
|
||||
|
|
Loading…
Reference in a new issue