Sha256: 90d72917b94f4b24e25efabda7f840e6a6cc0cf440bc6a69973ccec7eb47ef9e

Contents?: true

Size: 1.28 KB

Versions: 1

Compression:

Stored size: 1.28 KB

Contents

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

  .field
    = f.label :site_name
    = f.text_field :site_name
  .field
    = f.label :site_title
    = f.text_field :site_title
  .field
    = f.label :site_tagline
    = f.text_field :site_tagline
  .field
    = f.label :site_description
    = f.text_field :site_description
  .field
    = f.label :site_keywords
    = f.text_field :site_keywords
  .field
    = f.label :site_image_url
    = f.text_field :site_image_url
  .field
    = f.label :domain
    = f.text_field :domain
  .field
    = f.label :articles_directory
    = f.text_field :articles_directory
  .field
    = f.label :offerpages_directory
    = f.text_field :offerpages_directory
  .field
    = f.label :sidebar
    = f.text_area :sidebar
  .field
    = f.label :introduction
    = f.text_area :introduction
  .field
    = f.label :google_analytics_id
    = f.text_field :google_analytics_id
  .field
    = f.label :twitter_account
    = f.text_field :twitter_account
  .field
    = f.label :facebook_admin_id
    = f.text_field :facebook_admin_id
  .actions
    = f.submit 'Save'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
website_builder_engine-0.0.3 app/views/website_builder_engine/settings/_form.html.haml