app/views/skyline/users/_form.html.erb in skylinecms-3.1.0 vs app/views/skyline/users/_form.html.erb in skylinecms-3.2.0
- old
+ new
@@ -47,10 +47,10 @@
<%= t(@user.grants.first.andand.role.andand.name, :scope => [:user,:roles]) %>
<p class="info"><%= t(:cannot_change_role, :scope => [:user,:edit]) %></p>
</td>
</tr>
<% else %>
- <% f.fields_for "grants_attributes", (@user.grants.first || @user.grants.build), :index => 1 do |gf| %>
+ <%= f.fields_for "grants_attributes", (@user.grants.first || @user.grants.build), :index => 1 do |gf| %>
<tr>
<th>
<%= gf.hidden_field :id unless gf.object.new_record? %>
<%= gf.label :role_id, Skyline::User.human_attribute_name("role") %>
</th>
\ No newline at end of file