Skip to content

Commit

Permalink
Updated README, removed obsolete setting fields
Browse files Browse the repository at this point in the history
  • Loading branch information
ariejan committed Nov 10, 2008
1 parent 8711c08 commit fd684d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
1 change: 0 additions & 1 deletion README.textile
Expand Up @@ -53,7 +53,6 @@ h2. Features
** acts_as_state_machine
** asset_packager
* Multi-stage deployments according to the D-TAP system (Development, Testing, Acceptance, Production). If you don't want to use, production is the default deployment option. "more info":http://weblog.jamisbuck.org/2007/7/23/capistrano-multistage
* Currently frozen at Rails 2.1.1

h2. Features, bugs and development!

Expand Down
16 changes: 4 additions & 12 deletions app/views/admin/settings/index.html.erb
Expand Up @@ -7,25 +7,17 @@
These are site-wide settings. They will be used through-out your application.
</p>
<p>
To add new settings, simple create a migration (see migration #006 for an example), and add your
settings code here to allow the administrator to edit it.
To add new settings, simple create a new row in the 'settings' table.
</p>
<% end -%>
<% form_tag :action => 'update' do %>

<h3>General</h3>



<%= settings_field(Setting.load(:site_name)) %>
<%= settings_field(Setting.load(:company_name)) %>
<%= settings_field(Setting.load(:site_url)) %>

<h3>Support</h3>

<%= settings_field(Setting.load(:support_name)) %>
<%= settings_field(Setting.load(:support_email)) %>
<p>There are currently no settings available.</p>

<%#= settings_field(Setting.load(:identifier)) %>

<div id="submitbutton">
<p><%= submit_tag 'Save Settings' %></p>
Expand Down

0 comments on commit fd684d1

Please sign in to comment.