New look
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user