def create
      @contact_form = Cmtool::ContactForm.new(contact_form_params)

      respond_to do |format|
        if @contact_form.save
          format.html { redirect_to([cmtool, @contact_form], notice: I18n.t('cmtool.action.create.successful', model: Cmtool::ContactForm.model_name.human)) }
          format.xml  { render xml: @contact_form, status: :created, location: @contact_form }
        else
          format.html { render action: "new" }
          format.xml  { render xml: @contact_form.errors, status: :unprocessable_entity }
        end
      end
    end
def create
      @contact_form = Cmtool::ContactForm.new(contact_form_params)

      respond_to do |format|
        if @contact_form.save
          format.html { redirect_to([cmtool, @contact_form], notice: I18n.t('cmtool.action.create.successful', model: Cmtool::ContactForm.model_name.human)) }
          format.xml  { render xml: @contact_form, status: :created, location: @contact_form }
        else
          format.html { render action: "new" }
          format.xml  { render xml: @contact_form.errors, status: :unprocessable_entity }
        end
      end
    end
POST /contact_forms
 POST /contact_forms.xml