diff --git a/app/views/help_center/support_categories/index.html.erb b/app/views/help_center/support_categories/index.html.erb
index 49332a4..07ab443 100644
--- a/app/views/help_center/support_categories/index.html.erb
+++ b/app/views/help_center/support_categories/index.html.erb
@@ -1,44 +1,44 @@
-<% if SupportCategory.none? %>
-
<%= t('search_not_found') %>. <%= link_to t('browse_categories'), help_center.support_categories_path %> <%= t('instead') %>
-<% else %>
-
-
Documentation
-
Explore our guides and examples
-
-
-
-
- <% SupportCategory.sorted.each do |category| %>
-
- <%= link_to help_center.support_category_path(category), class: "block hover:bg-gray-50" do %>
-
-
-
-
-
-
-
<%= category.name %>
-
- <%= category.description %>
-
-
-
-
-
-
-
- <% end %>
-
- <% end %>
-
-
-
-<% end %>
-
-
-
+<% if SupportCategory.none? %>
+ <%= t('search_not_found') %>. <%= link_to t('browse_categories'), help_center.support_categories_path %> <%= t('instead') %>
+<% else %>
+
+
Documentation
+
Explore our guides and examples
+
+
+
+
+ <% SupportCategory.sorted.each do |category| %>
+
+ <%= link_to help_center.support_category_path(category), class: "block hover:bg-gray-50" do %>
+
+
+
+
+
+
+
<%= category.name %>
+
+ <%= category.description %>
+
+
+
+
+
+
+
+ <% end %>
+
+ <% end %>
+
+
+
+<% end %>
+
+
+
diff --git a/app/views/help_center/support_threads/_form.html.erb b/app/views/help_center/support_threads/_form.html.erb
index 1881c0a..161ca55 100644
--- a/app/views/help_center/support_threads/_form.html.erb
+++ b/app/views/help_center/support_threads/_form.html.erb
@@ -1,50 +1,50 @@
-<%= form_for @support_thread,
- url: (@support_thread.persisted? ? help_center.support_thread_path(@support_thread) : help_center.support_threads_path),
- html: { data: {behavior: "comment-form"} } do |f| %>
- <% if @support_thread.errors.any? %>
-
-
<%= pluralize(@support_thread.errors.count, "error") %> prohibited this support_thread from being saved:
-
- <% @support_thread.errors.full_messages.each do |message| %>
- <%= message %>
- <% end %>
-
-
- <% end %>
-
- <%= f.label :support_category_id, t('choose_a_category'), class: "block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2 mb-2" %>
- <%= f.collection_select :support_category_id, SupportCategory.sorted, :id, :name, {include_blank: t('pick_a_category')}, {autofocus: true, class: "shadow-sm focus:ring-indigo-500 focus:border-indigo-500 block w-full sm:text-sm border border-gray-300 rounded-md p-2"} %>
-
-
- <%= f.label t('title'), class: "block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2 mb-2" %>
- <%= f.text_field :title, placeholder: t('how_do_i'), class: "shadow-sm focus:ring-blue-500 focus:border-blue-500 block w-full sm:text-sm border border-gray-300 rounded-md p-2" %>
-
-
- <%= f.label t('position'), class: "block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2 mb-2" %>
- <%= f.text_field :position, type: "number", step: "1", min: "0", class: "shadow-sm focus:ring-blue-500 focus:border-blue-500 block w-full sm:text-sm border border-gray-300 rounded-md p-2" %>
-
-
- <%= f.label t('content'), class: "block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2 mb-2" %>
- <%= f.rich_text_area :content, class: "shadow-sm block w-full focus:ring-blue-500 focus:border-blue-500 sm:text-sm border border-gray-300 rounded-md" %>
-
- <% if local_assigns.fetch(:posts, true) %>
- <% if !f.object.new_record? %>
- <%= f.fields_for :support_posts do |p| %>
-
- <%= p.label :body, t('what_help_needed'), class: "block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2" %>
- <%= p.text_area :body, placeholder: t('add_a_comment'), rows: 10, class: "form-control simplemde", data: { behavior: "comment-body" } %>
-
- <% end %>
- <% end %>
- <% end %>
-
- <% if f.object.new_record? %>
- <%= f.button t('add'), class: "inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500", data: {disable_with: " #{t('saving')}"} %>
- <% else %>
- <%= f.button t('update'), class: "inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500", data: {disable_with: " #{t('saving')}"} %>
- <% end %>
-
- <%= link_to "Cancel", :back, class: "inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-red-600 hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500" %>
-
-<% end %>
+<%= form_for @support_thread,
+ url: (@support_thread.persisted? ? help_center.support_thread_path(@support_thread) : help_center.support_threads_path),
+ html: { data: {behavior: "comment-form"} } do |f| %>
+ <% if @support_thread.errors.any? %>
+
+
<%= pluralize(@support_thread.errors.count, "error") %> prohibited this support_thread from being saved:
+
+ <% @support_thread.errors.full_messages.each do |message| %>
+ <%= message %>
+ <% end %>
+
+
+ <% end %>
+
+ <%= f.label :support_category_id, t('choose_a_category'), class: "block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2 mb-2" %>
+ <%= f.collection_select :support_category_id, SupportCategory.sorted, :id, :name, {include_blank: t('pick_a_category')}, {autofocus: true, class: "shadow-sm focus:ring-indigo-500 focus:border-indigo-500 block w-full sm:text-sm border border-gray-300 rounded-md p-2"} %>
+
+
+ <%= f.label t('title'), class: "block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2 mb-2" %>
+ <%= f.text_field :title, placeholder: t('how_do_i'), class: "shadow-sm focus:ring-blue-500 focus:border-blue-500 block w-full sm:text-sm border border-gray-300 rounded-md p-2" %>
+
+
+ <%= f.label t('position'), class: "block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2 mb-2" %>
+ <%= f.text_field :position, type: "number", step: "1", min: "0", class: "shadow-sm focus:ring-blue-500 focus:border-blue-500 block w-full sm:text-sm border border-gray-300 rounded-md p-2" %>
+
+
+ <%= f.label t('content'), class: "block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2 mb-2" %>
+ <%= f.rich_text_area :content, class: "shadow-sm block w-full focus:ring-blue-500 focus:border-blue-500 sm:text-sm border border-gray-300 rounded-md" %>
+
+ <% if local_assigns.fetch(:posts, true) %>
+ <% if !f.object.new_record? %>
+ <%= f.fields_for :support_posts do |p| %>
+
+ <%= p.label :body, t('what_help_needed'), class: "block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2" %>
+ <%= p.text_area :body, placeholder: t('add_a_comment'), rows: 10, class: "form-control simplemde", data: { behavior: "comment-body" } %>
+
+ <% end %>
+ <% end %>
+ <% end %>
+
+ <% if f.object.new_record? %>
+ <%= f.button t('add'), class: "inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500", data: {disable_with: " #{t('saving')}"} %>
+ <% else %>
+ <%= f.button t('update'), class: "inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500", data: {disable_with: " #{t('saving')}"} %>
+ <% end %>
+
+ <%= link_to "Cancel", :back, class: "inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-red-600 hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500" %>
+
+<% end %>
\ No newline at end of file
diff --git a/app/views/help_center/support_threads/new.html.erb b/app/views/help_center/support_threads/new.html.erb
index 9c50407..e3f22dd 100644
--- a/app/views/help_center/support_threads/new.html.erb
+++ b/app/views/help_center/support_threads/new.html.erb
@@ -1,9 +1,9 @@
-
-
<%= t('add_article') %>
-
-
-
-
- <%= render 'form' %>
-
-
+
+
<%= t('add_article') %>
+
+
+
+
+ <%= render 'form' %>
+
+
diff --git a/app/views/help_center/support_threads/show.html.erb b/app/views/help_center/support_threads/show.html.erb
index dc2069c..05c1b8c 100644
--- a/app/views/help_center/support_threads/show.html.erb
+++ b/app/views/help_center/support_threads/show.html.erb
@@ -1,14 +1,14 @@
-
-<%= render partial: "shared/thread_actions" if is_moderator_or_owner?(@support_thread)%>
-
-
-
<%= link_to @support_thread.support_category.name, help_center.support_category_path(@support_thread.support_category) %> / <%= @support_thread.title %>
-
<%= @support_thread.title %>
-
-
-
-
-
<%= @support_thread.content %>
-
-
+
+<%= render partial: "shared/thread_actions" if is_moderator_or_owner?(@support_thread)%>
+
+
+
<%= link_to @support_thread.support_category.name, help_center.support_category_path(@support_thread.support_category) %> / <%= @support_thread.title %>
+
<%= @support_thread.title %>
+
+
+
+
+
<%= @support_thread.content %>
+
+
\ No newline at end of file
diff --git a/app/views/layouts/help_center.html.erb b/app/views/layouts/help_center.html.erb
index b954226..b476a6d 100644
--- a/app/views/layouts/help_center.html.erb
+++ b/app/views/layouts/help_center.html.erb
@@ -1,74 +1,74 @@
-
-
-
-
-
-
-
-
-
-
-
-
- <% if current_user && (current_user.admin? || current_user.moderator?) %>
-
-
Welcome moderators (<%= current_user.email %>)
-
- <%= link_to t('add_an_article'), help_center.new_support_thread_path, class: "text-gray-100 hover:text-gray-300 hover:no-underline font-semibold underline mr-4 ml-6" %>
- <%= link_to t('add_category'), help_center.new_support_category_path, class: "text-gray-100 hover:text-gray-300 hover:no-underline font-semibold underline" %>
-
-
-<% end %>
-
-
- <%= link_to help_center_path do %>
- <%= render_svg "logo" %>
- <% end %>
-
-
- <%= render partial: "shared/sidebar" %>
-
-
-
- <% if current_page?(help_center_path) %>
- <% if SupportCategory.all.count > 0 %>
- <% @support_thread = SupportCategory.sorted.first.support_threads.sorted.first %>
-
-
- <% if is_moderator_or_owner?(@support_thread) %>
-
- <%= link_to icon("fas","pencil"), help_center.edit_support_thread_path(@support_thread),
- class: "text-muted",
- data: { toggle: "tooltip", placement: "left" },
- title: t('edit_this_thread') %>
-
- <% end %>
-
- <%= support_category_link(@support_thread.support_category) %> > <%= @support_thread.title %>
-
<%= icon "fas", "thumb-tack", class: "text-muted" if @support_thread.pinned? %> <%= @support_thread.title %>
-
-
-
- <%= @support_thread.content %>
-
- <% end %>
- <% else %>
- <%= yield %>
- <% end %>
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ <% if current_user && (current_user.admin? || current_user.moderator?) %>
+
+
Welcome moderators (<%= current_user.email %>)
+
+ <%= link_to t('add_an_article'), help_center.new_support_thread_path, class: "text-gray-100 hover:text-gray-300 hover:no-underline font-semibold underline mr-4 ml-6" %>
+ <%= link_to t('add_category'), help_center.new_support_category_path, class: "text-gray-100 hover:text-gray-300 hover:no-underline font-semibold underline" %>
+
+
+<% end %>
+
+
+ <%= link_to help_center_path do %>
+ <%= render_svg "logo" %>
+ <% end %>
+
+
+ <%= render partial: "shared/sidebar" %>
+
+
+
+ <% if current_page?(help_center_path) %>
+ <% if SupportCategory.all.count > 0 %>
+ <% @support_thread = SupportCategory.sorted.first.support_threads.sorted.first %>
+
+
+ <% if is_moderator_or_owner?(@support_thread) %>
+
+ <%= link_to icon("fas","pencil"), help_center.edit_support_thread_path(@support_thread),
+ class: "text-muted",
+ data: { toggle: "tooltip", placement: "left" },
+ title: t('edit_this_thread') %>
+
+ <% end %>
+
+ <%= support_category_link(@support_thread.support_category) %> > <%= @support_thread.title %>
+
<%= icon "fas", "thumb-tack", class: "text-muted" if @support_thread.pinned? %> <%= @support_thread.title %>
+
+
+
+ <%= @support_thread.content %>
+
+ <% end %>
+ <% else %>
+ <%= yield %>
+ <% end %>
+
+
+
+
+
+
+
+
+
+
diff --git a/app/views/shared/_sidebar.html.erb b/app/views/shared/_sidebar.html.erb
index 1da85cf..5eb2f9c 100644
--- a/app/views/shared/_sidebar.html.erb
+++ b/app/views/shared/_sidebar.html.erb
@@ -1,66 +1,66 @@
-
-
-
- <% SupportCategory.sorted.each do |category| %>
-
">
-
-
- <%= category.name %>
-
-
" >
-
- <% threads = SupportThread.where(support_category_id: category.id).order(:position) %>
- <% threads.each do |thread| %>
-
- <%= link_to help_center.support_thread_path(thread), class: "text-base font-normal text-gray-500 hover:text-gray-700" do %>
- <%= thread.title %>
- <% end %>
-
- <% end %>
-
-
-
-
- <% end %>
-
-
+
+
+
+ <% SupportCategory.sorted.each do |category| %>
+
">
+
+
+ <%= category.name %>
+
+
" >
+
+ <% threads = SupportThread.where(support_category_id: category.id).order(:position) %>
+ <% threads.each do |thread| %>
+
+ <%= link_to help_center.support_thread_path(thread), class: "text-base font-normal text-gray-500 hover:text-gray-700" do %>
+ <%= thread.title %>
+ <% end %>
+
+ <% end %>
+
+
+
+
+ <% end %>
+
+
diff --git a/lib/help_center/version.rb b/lib/help_center/version.rb
index 70f65c7..0190bc6 100644
--- a/lib/help_center/version.rb
+++ b/lib/help_center/version.rb
@@ -1,3 +1,3 @@
-module HelpCenter
- VERSION = "0.0.9"
-end
+module HelpCenter
+ VERSION = "0.0.9"
+end