Sha256: bc11413131b4860a3025c90d0622ba17b5d6b1c00589eedbac0b2cf5468eda28

Contents?: true

Size: 754 Bytes

Versions: 1

Compression:

Stored size: 754 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 :database
    = f.text_field :database
  .actions = f.submit 'Save'

Version data entries

1 entries across 1 versions & 1 rubygems

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