<%= simple_form_for(@post) do |f| %> <%= f.input :name %> <%= f.input :registration_number %> <%= f.input :business_tpe %> <%= f.submit %> <% end %>