Sha256: e8bfe55f7797e591d58367765a641b5f1c8be500ea890aadb730835cd42eef5f

Contents?: true

Size: 270 Bytes

Versions: 1

Compression:

Stored size: 270 Bytes

Contents

- value = try(:value)
- placeholder = settings[:placeholder] || ''

- case settings[:fill_type]
- when :input
  = text_field_tag settings[:param], nil, placeholder: placeholder
- when :select
  = select_tag settings[:param], options_for_select(settings[:values], value)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_api_documentation-0.2.3 app/views/shared/_param_inputs.slim