app/views/settings/edit.html.erb in tkh_admin_panel-0.9.22 vs app/views/settings/edit.html.erb in tkh_admin_panel-0.9.23

- old
+ new

@@ -1,26 +1,21 @@ <h1><%= t('activerecord.models.settings') %></h1> <%= render 'tab_admin_menu' %> -<%= simple_form_for @setting, :html => { class: 'form-horizontal' } do |f| %> +<%= simple_form_for @setting do |f| %> <%= f.error_notification %> - - <div class="form-inputs"> - <%= f.input :company_name %><br /> + + <%= f.input :company_name %> <%= f.input :contact_email, hint: t('settings.hint.contact_email') %> <%= f.input :site_name, hint: t('settings.hint.site_name') %> <%= f.input :site_tagline, hint: t('settings.hint.site_tagline') %> <%= f.input :enable_comments_in_pages, as: :boolean, inline_label: true, label: false %> <%= f.input :disable_blog, as: :boolean, inline_label: true, label: false, hint: t('settings.hint.disable_blog') %> <%= f.input :blog_name %> <%= f.input :blog_tagline, hint: t('settings.hint.blog_tagline') %> <%= 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> + <%= f.button :submit, :class => 'btn btn-primary' %> <% end %> -<%= render 'shared/admin_sidebar' %> \ No newline at end of file +<%= render 'shared/admin_sidebar' %>