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