inline_forms 1.3.31 → 1.3.32
Sign up to get free protection for your applications and to get access to all the features.
@@ -16,7 +16,7 @@
|
|
16
16
|
<% css_class_id = "#{@object.class.name.underscore}_#{@object.id}_#{attribute}" -%>
|
17
17
|
<tr>
|
18
18
|
<td valign="top">
|
19
|
-
<div class='<%= "has_validations " if
|
19
|
+
<div class='<%= "has_validations " if has_validations(@object, attribute) -%><%= "attribute_name attribute_#{attribute} form_element_#{form_element}" -%>' >
|
20
20
|
<%= translated_attribute(@object, attribute) -%>
|
21
21
|
</div>
|
22
22
|
<% if has_validations(@object, attribute) %>
|
data/lib/inline_forms/version.rb
CHANGED