9 lines
172 B
Plaintext
9 lines
172 B
Plaintext
|
- label = @options[:label] || _('form.label.' + @name.to_s)
|
||
|
= label_tag @name do
|
||
|
- if @label_position == :inside
|
||
|
%div=@html
|
||
|
%span
|
||
|
%span=label
|
||
|
- else
|
||
|
%span=label
|