Sha256: 55eb9906bde6164574f310d23a7975c0108c34fe90476b52915318d8b4532171

Contents?: true

Size: 859 Bytes

Versions: 4

Compression:

Stored size: 859 Bytes

Contents

<h1>Edit Settings</h1>

<%= simple_form_for @setting, :html => { class: 'form-horizontal' } do |f| %>
	<%= f.error_notification %>
	
  <div class="form-inputs">
		<%= f.input :site_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

4 entries across 4 versions & 1 rubygems

Version Path
tkh_admin_panel-0.2.3 app/views/settings/edit.html.erb
tkh_admin_panel-0.2.2 app/views/settings/edit.html.erb
tkh_admin_panel-0.2.1 app/views/settings/edit.html.erb
tkh_admin_panel-0.2 app/views/settings/edit.html.erb