This commit is contained in:
Godwin
2014-07-05 10:27:49 -06:00
parent 930aa130d6
commit f66f456cc4
36 changed files with 901 additions and 242 deletions
+1 -1
View File
@@ -7,4 +7,4 @@
= @label_position == :before && @label ? @label : ''
- if @label_position != :inside
%div=@html
= @label_position == :after && @label ? '' : @label
= @label_position == :after && @label ? @label : ''
@@ -1,4 +1,4 @@
- label = @options[:label] || _('form.label.' + @name.to_s)
- label = !@options[:label] || @options[:label] == true ? _('form.label.' + @name.to_s) : @options[:label]
= label_tag @name do
- if @label_position == :inside
%div=@html