<%= form_for(@modules_category) do |f| %> <%= render 'phcnotifi/validations', :object => @modules_category %>
<%= f.text_field :catname, class: "form-control" %>
<%= f.submit "Submit", class: "btn btn-primary" %>
<% end %>