0
-<h2>Editing preferences</h2>
0
-<%= error_messages_for :preferences %>
0
-<% form_for :preferences,
0
- :url => admin_preference_path(@preferences),
0
- :html => { :method => :put } do |f| %>
0
- <div class="form_row">
0
- <b>Email domain</b><br />
0
- <%= f.text_field :domain %>
0
- <div class="form_row">
0
- <b>Smtp server</b><br />
0
- <%= f.text_field :smtp_server %>
0
- <div class="form_row">
0
- <b>Email notifications</b><br />
0
- <%= f.check_box :email_notifications %>
0
- <div class="form_row">
0
- <b>Email verifications</b><br />
0
- <%= f.check_box :email_verifications %>
0
- <div class="form_row">
0
- <b>Analytics (will be inserted
0
- just before the <%= h("</body>") %> tag)</b><br />
0
- <%= f.text_area :analytics, :rows => 10 %>
0
- <div class="form_row">
0
- <%= f.submit "Update", :class => "button" %>
0
-<%= link_to 'Back', admin_preferences_path %>
0
+<%- column_div :type => :primary do -%>
0
+ <h2>Editing preferences</h2>
0
+ <%= error_messages_for :preferences %>
0
+ <% form_for :preferences,
0
+ :url => admin_preference_path(@preferences),
0
+ :html => { :method => :put } do |f| %>
0
+ <div class="form_row">
0
+ <label for="domain">Email domain</label>
0
+ <%= f.text_field :domain %>
0
+ <div class="form_row">
0
+ <label for="smtp_server">Smtp server</label>
0
+ <%= f.text_field :smtp_server %>
0
+ <p>Send email when messages, connection requests, etc., are sent</p>
0
+ <div class="form_row">
0
+ <label for="email_notifications"
0
+ class="checkbox">Email notifications</label>
0
+ <%= f.check_box :email_notifications %>
0
+ <p>Verify email for new registrations using an activation code</p>
0
+ <div class="form_row">
0
+ <label for="email_verifications"
0
+ class="checkbox">Email verifications</label>
0
+ <%= f.check_box :email_verifications %>
0
+ <div class="form_row">
0
+ <label for="analytics">Analytics (will be inserted
0
+ just before the <%= h("</body>") %> tag)</label>
0
+ <%= f.text_area :analytics, :rows => 10 %>
0
+ <div class="form_row">
0
+ <%= f.submit "Update", :class => "button" %>
0
+ or <%= link_to "Cancel", admin_preferences_path %>
0
+ <%= link_to 'Back', admin_preferences_path %>
0
\ No newline at end of file
Comments
No one has commented yet.