We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d95deae commit 9fd8fd9Copy full SHA for 9fd8fd9
test/dummy/app/views/nested_forms/fields/index.html.erb
@@ -22,7 +22,9 @@
22
<td><%= field.class.model_name.human %></td>
23
<td><%= Field.human_enum_value(:accessibility, field.accessibility) %></td>
24
<td>
25
- <%= link_to "Validations", edit_field_validations_path(field) %> |
+ <% if field.validations_configurable? %>
26
+ <%= link_to "Validations", edit_field_validations_path(field) %> |
27
+ <% end %>
28
<% if field.options_configurable? %>
29
<%= link_to "Options", edit_field_options_path(field) %> |
30
<% end %>
0 commit comments