<%= form_for(@modules_category) do |f| %>
<%= f.text_field :catname, class: "form-control" %>
<%= f.submit class: "btn btn-primary" %>
<% end %>