Sha256: 9c74bd496f7afa5b83fee37c9253db075be64978aec669203a11e4acd9c50da7
Contents?: true
Size: 550 Bytes
Versions: 3
Compression:
Stored size: 550 Bytes
Contents
- unless defined? required - required = false - if !(defined? id) || id.blank? - id = "#{name}_#{rand(1000)}" - unless defined? placeholder - placeholder = "Escribe aquĆ..." - unless defined? rows - rows = 5 .form-group .fg-line label.fg-label #{title} - if required textarea.form-control name="#{name}" placeholder=("#{placeholder}") rows="#{rows}" maxlength="#{length}" required="" #{value} - else textarea.form-control name="#{name}" placeholder=("#{placeholder}") rows="#{rows}" maxlength="#{length}" #{value}
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sinatra-hexacta-0.3.6 | lib/sinatra/views/inputs/textarea.slim |
sinatra-hexacta-0.3.5 | lib/sinatra/views/inputs/textarea.slim |
sinatra-hexacta-0.3.4 | lib/sinatra/views/inputs/textarea.slim |