Sha256: ccbcd5691e3d93452330e01f29be72248702169a97cd37dfbb9b5fa3ae142c16

Contents?: true

Size: 1.11 KB

Versions: 1

Compression:

Stored size: 1.11 KB

Contents

<h1><%= t('activerecord.models.settings') %></h1>

<%= render 'tab_admin_menu' %>

<%= simple_form_for @setting, :html => { class: 'form-horizontal' } do |f| %>
	<%= f.error_notification %>
	
  <div class="form-inputs">
		<%= f.input :company_name %><br />
		<%= f.input :contact_email, hint: 'this is used to get the messages from the contact form and for other things as well.' %><br />
		<%= f.input :site_name, hint: 'this is often the same as the company name' %><br />
		<%= f.input :site_tagline, hint: 'a small descriptive sentence' %><br />
		<%= f.input :enable_comments_in_pages, as: :boolean, inline_label: true, label: false  %><br />
		<%= f.input :disable_blog, as: :boolean, inline_label: true, label: false, hint: 'should be checked if you do NOT want a blog' %><br />
		<%= f.input :blog_name %><br />
		<%= f.input :blog_tagline, hint: 'a small descriptive sentence' %><br />
		<%= f.input :enable_comments_in_blog, as: :boolean, inline_label: true, label: false  %>
	</div>
	
  <div class="form-actions">
    <%= f.button :submit, :class => 'btn btn-primary' %>
  </div>

<% end %>

<%= render 'shared/admin_sidebar' %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tkh_admin_panel-0.3.1 app/views/settings/edit.html.erb