Giter VIP home page Giter VIP logo

cama_contact_form's People

Contributors

2xg avatar alexshenia avatar dependabot[bot] avatar gildesmarais avatar haffla avatar owen2345 avatar p avatar rfestag avatar texpert avatar wuboy0307 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cama_contact_form's Issues

Error after submitting contact form

ActionController::RoutingError (No route matches [POST] "/"):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in call' web-console (3.7.0) lib/web_console/middleware.rb:135:in call_app'
web-console (3.7.0) lib/web_console/middleware.rb:30:in block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in catch'
web-console (3.7.0) lib/web_console/middleware.rb:20:in call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in call'
railties (5.2.2) lib/rails/rack/logger.rb:38:in call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in block in call'
activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in tagged'
activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in call'
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in call'
request_store (1.4.1) lib/request_store/middleware.rb:19:in call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in call'
rack (2.0.6) lib/rack/method_override.rb:22:in call' rack (2.0.6) lib/rack/runtime.rb:22:in call'
activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in call'
actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in call' rack (2.0.6) lib/rack/sendfile.rb:111:in call'
railties (5.2.2) lib/rails/engine.rb:524:in call' puma (3.12.0) lib/puma/configuration.rb:225:in call'
puma (3.12.0) lib/puma/server.rb:658:in handle_request' puma (3.12.0) lib/puma/server.rb:472:in process_client'
puma (3.12.0) lib/puma/server.rb:332:in block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in block in spawn_thread'

Form field description translations show two languages at the same time

I've made a contact form with no custom rendering: (sorry for a large image)
admin_panel_contact_form_edit_contact_form
Then I've made a page containing the form shortcode [forms slug=pew-pew-pew]
And I get this when I open this page.
selection_024
The labels are translated as it has to be, but description is duplicated.

<p><!--:en-->present yourself<!--:--><!--:es-->presentese<!--:--></p>

As I see in source code gems/cama_contact_form-0.0.12/app/helpers/plugins/cama_contact_form/main_helper.rb the translation is made the same way, but I wonder why it has different output.

  def cama_form_element_bootstrap_object(form, object, values)
    html = ""
    object.each do |ob|
      ob[:label] = ob[:label].to_s.translate
      ob[:description] = ob[:description].to_s.translate
      ...
    end
    html
  end

Thanks in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.