<% if Rails.env.development? %>

Not Configured

The <%= type %> resource for <%= controller_name.titleize %> has not been configured.

Configure <%= controller.class.name %> like the example below:

class <%= controller.class.name %>
  active_element.<%= type %>_fields :name, :email, :date_of_birth
end

This message is visible in development mode only.

<% else %>

Forbidden

Access to this resource has not been configured

The <%= type %> resource for <%= controller_name.titleize %> has not been configured, please contact your administrator.

<% end %>