shipyard-framework 0.2.8 → 0.2.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e960dcc67cd266229721717aa3db24c69ab2697
4
- data.tar.gz: 87cf4904eb06b97c58f9432be4acf6ca206afffc
3
+ metadata.gz: 7ae8d55154badaa5fc99bd664d6c9ca0d16024d1
4
+ data.tar.gz: da8a73305d20fa6fad7993cb6483a8ca753cb99e
5
5
  SHA512:
6
- metadata.gz: ff61950a64d033b3c280480ea05f3b1ca9e95b7f3156e5d6fd65059a53f216fde03f48207d26c2fbc5c0fe1ed6d968bceb37e7f071e5c3b864323eb0f5442451
7
- data.tar.gz: 353649128cea65ce6bbbb413d4cb6fd56eb919397f7604fe7ba7fa62a80080e03a8e7ff744cfdcc3855e6b29e67c13c570012ed1cb0b6ea70d4d7404955ada71
6
+ metadata.gz: cfaacc56f04a26d05f322927bd7ddeb541c3c856a9bfa0f52216107c52a1d0fed18b800f3ba898fd7433a0b50231f1f1f6968473c64bd693a8da0b27d84f513d
7
+ data.tar.gz: 69cadf09ce52200b0ed2d4d4c6a8fb871711a00251754ff1dab8f5c63166928870a358886f6f40f0f423475e9bb9538efc317b2a475f0084c2966d9f039c5552
@@ -1,6 +1,11 @@
1
1
  module Shipyard
2
2
  module Rails
3
3
  module FormHelper
4
+ def input_text(name, value=nil, options={})
5
+ options[:class] = "input input-text #{options[:class]}"
6
+ text_field_tag name, value, options
7
+ end
8
+
4
9
  def input_select_tag(name, choices, container_options={}, select_options={})
5
10
  container_options[:class] = "input-select-container #{container_options[:class]}"
6
11
  content_tag :div, container_options do
@@ -1,3 +1,3 @@
1
1
  module Shipyard
2
- VERSION = '0.2.8'
2
+ VERSION = '0.2.9'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shipyard-framework
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shipyard