NoMethodError in Admin::Groups#edit

Showing /opt/app/views/admin/groups/_form.html.erb where line #11 raised:

undefined method `error_message' for #<ActionView::Base:0x000000000a4448>
Extracted source (around line #11):
9
10
11
12
13
14
              
<p class="error affiliation-name affiliation-errors hidden">The Field must contain a minimum of 1 character</p>
<%= error_message :name, f.object.errors %>
</span>
<span class="d-block admin_form_label">

Trace of template inclusion: #<ActionView::Template app/views/admin/groups/edit.html.erb locals=[]>

Rails.root: /opt

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"id"=>"iatse-international"}

Response

Headers:

None