Skip to main content

creating-app-settings

Creating app settings​

Set up app (aka plugin) settings​

Create the file​

  • create the file _theNameSettings.html.haml

Set up file​

The settings are broken down into smaller components and dynamically created using partials (refer to "app/views/apps/settings_partials"). Those partials are then simplified using a helper (refer to "app/helpers/app_form_helper.rb).

In this file you will be focusing on three sections

  • Content - Mostly stuff related to the actual content of the plugin. e.g text
  • Design - Anything that controls the look and feel of the plugin
  • Extra - Everything else that needs to be included

- content_for :content_section do

- content_for :design_section do

- content_for :extra do