Sha256: cdcedc09bd0f1062fc755678a2c781700846ed394e8f12eb6d590bb55b127abc

Contents?: true

Size: 851 Bytes

Versions: 2

Compression:

Stored size: 851 Bytes

Contents

= form_for @database_config do |f|
  - if @database_config.errors.any?
    #error_explanation
      h2 = "#{pluralize(@database_config.errors.count, "error")} prohibited this database_config from being saved:"
      ul
        - @database_config.errors.full_messages.each do |message|
          li = message

  .field
    = f.label :adapter
    = f.text_field :adapter
  .field
    = f.label :encoding
    = f.text_field :encoding
  .field
    = f.label :pool
    = f.text_field :pool
  .field
    = f.label :username
    = f.text_field :username
  .field
    = f.label :password
    = f.text_field :password
  .field
    = f.label :host
    = f.text_field :host
  .field
    = f.label :port
    = f.text_field :port
  .field
    = f.label :database_name
    = f.text_field :database_name
  .actions = f.submit 'Save'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
easy_reports-0.0.25 app/views/easy_reports/database_configs/_form.html.slim
easy_reports-0.0.24 app/views/easy_reports/database_configs/_form.html.slim