GithubHelp home page GithubHelp logo

rails_bootstrap_helper's People

Contributors

hoangnghiem avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

g8d3 olimart

rails_bootstrap_helper's Issues

Bundler issue

gem -v simple_form
=> 2.0.6

When I bundle I get

Bundler could not find compatible versions for gem "simple_form":
  In Gemfile:
    rails_bootstrap_helper (>= 0) ruby depends on
      simple_form (~> 2.0.2) ruby

    simple_form (1.4.1)

Where is the problem coming from? simple_form version locked in the gem? my setup?

I also get (rails 4 app)

Bundler could not find compatible versions for gem "railties":
  In Gemfile:
    rails_bootstrap_helper (>= 0) ruby depends on
      railties (~> 3.0) ruby

    sass-rails (~> 4.0.0) ruby depends on
      railties (4.0.0)

Pls add icon_link_to

def icon_link_to(text, url, options)
icon = options.delete(:icon) if options.has_key?(:icon)
icon_tag = ''
if icon
icon_klass = ["icon-#{icon}"]
if options.has_key?(:white)
icon_klass << ["icon-white"]
options.delete(:white)
end
icon_tag = content_tag(:i, '', :class => icon_klass.join(' '))
end
link_to (icon_tag + " #{text}").html_safe, url, options
end

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.