diff --git a/app/views/blogposts/edit.html.erb b/app/views/blogposts/edit.html.erb index 25da324..1289847 100644 --- a/app/views/blogposts/edit.html.erb +++ b/app/views/blogposts/edit.html.erb @@ -1,10 +1,10 @@ -<% title "Edit News: #{@post.title}" %> +<% title "Edit Post: #{@post.title}" %> -
<%= f.submit "Update Post", class: "btn blue left" %>
<% end %> -<%= button_to "Delete post", @post, method: "delete", data: {confirm: "Delete post & comments forever?"}, class: "btn red right" %>
- \ No newline at end of file +<%= button_to "Delete Post", @post, method: "delete", data: {confirm: "Delete post & comments forever?"}, class: "btn red right" %>
+ diff --git a/app/views/blogposts/index.html.erb b/app/views/blogposts/index.html.erb index 9dadf42..a300fc2 100644 --- a/app/views/blogposts/index.html.erb +++ b/app/views/blogposts/index.html.erb @@ -1,7 +1,7 @@ <% title "News" %><%= f.submit class: "btn blue" %>
-<% end %> \ No newline at end of file +<% end %> diff --git a/app/views/comments/edit.html.erb b/app/views/comments/edit.html.erb index 5416ab6..a0ea880 100644 --- a/app/views/comments/edit.html.erb +++ b/app/views/comments/edit.html.erb @@ -1,10 +1,10 @@ <% title "Edit Comment: #{@comment.blogpost.title}" %> -<%= f.submit "Update Comment", class: "btn blue left" %>
<% end %> -<%= button_to "Delete comment", [@comment.blogpost, @comment] , method: "delete", data: {confirm: "Delete comment forever?"}, class: "btn red right" %>
- \ No newline at end of file +<%= button_to "Delete Comment", [@comment.blogpost, @comment] , method: "delete", data: {confirm: "Delete comment forever?"}, class: "btn red right" %>
+ diff --git a/app/views/forumgroups/edit.html.erb b/app/views/forumgroups/edit.html.erb index bb3bf5a..1df0939 100644 --- a/app/views/forumgroups/edit.html.erb +++ b/app/views/forumgroups/edit.html.erb @@ -34,7 +34,7 @@<%= f.submit "Update group", class: "btn blue left" %>
+<%= f.submit "Update Group", class: "btn blue left" %>
<% end %> -<%= button_to "Delete group", @group, :method => "delete", data: {confirm: "Delete group?\nForums + Threads will not be accessible!"}, class: "btn red right" %>
- \ No newline at end of file +<%= button_to "Delete Group", @group, :method => "delete", data: {confirm: "Delete group?\nForums + Threads will not be accessible!"}, class: "btn red right" %>
+ diff --git a/app/views/forumgroups/new.html.erb b/app/views/forumgroups/new.html.erb index 9802260..cd36247 100644 --- a/app/views/forumgroups/new.html.erb +++ b/app/views/forumgroups/new.html.erb @@ -1,6 +1,6 @@ <% title "New Forum: #{@group.name}" %> -| <%= f.select :role_write_id, role_selection, include_blank: false %> |
<%= f.submit "Create group", class: "btn blue left" %>
+<%= f.submit "Create Group", class: "btn blue left" %>
-<% end %> \ No newline at end of file +<% end %> diff --git a/app/views/forums/edit.html.erb b/app/views/forums/edit.html.erb index 571b3b7..b1a5a2e 100644 --- a/app/views/forums/edit.html.erb +++ b/app/views/forums/edit.html.erb @@ -26,7 +26,7 @@<%= f.submit "Update forum", class: "btn blue left" %>
+<%= f.submit "Update Forum", class: "btn blue left" %>
<% end %> -<%= button_to "Delete forum", @forum, method: "delete", data: {confirm: "Delete forum forever?\nThreads won't be accessible!"}, class: "btn red right" %>
+<%= button_to "Delete Forum", @forum, method: "delete", data: {confirm: "Delete forum forever?\nThreads won't be accessible!"}, class: "btn red right" %>
diff --git a/app/views/forums/index.html.erb b/app/views/forums/index.html.erb index a30730a..ba90117 100644 --- a/app/views/forums/index.html.erb +++ b/app/views/forums/index.html.erb @@ -1,6 +1,6 @@ <% title "Forums" %> -<%= link_to "All threads", forumthreads_path, class: "btn blue right" %> +<%= link_to "All Threads", forumthreads_path, class: "btn blue right" %><%= f.submit "Create forum", class: "btn blue left" %>
+<%= f.submit "Create Forum", class: "btn blue left" %>
<% end %> diff --git a/app/views/forums/show.html.erb b/app/views/forums/show.html.erb index cfe3918..5c7b843 100644 --- a/app/views/forums/show.html.erb +++ b/app/views/forums/show.html.erb @@ -6,7 +6,7 @@ <% if @forum.can_write?(current_user) %>- <%= link_to "New thread", new_forumthread_path(forum: @forum), class: "btn blue" %> + <%= link_to "New Thread", new_forumthread_path(forum: @forum), class: "btn blue" %>
<% end %> diff --git a/app/views/forumthreads/edit.html.erb b/app/views/forumthreads/edit.html.erb index 5297249..5667cf2 100644 --- a/app/views/forumthreads/edit.html.erb +++ b/app/views/forumthreads/edit.html.erb @@ -11,7 +11,7 @@ end %> -<%= submit_tag "Log in", class: "btn blue" %>
-<% end %> \ No newline at end of file +<% end %> diff --git a/app/views/threadreplies/edit.html.erb b/app/views/threadreplies/edit.html.erb index 8296d9c..a66ac90 100644 --- a/app/views/threadreplies/edit.html.erb +++ b/app/views/threadreplies/edit.html.erb @@ -1,4 +1,4 @@ -<% title "Edit Thread Reply: #{@reply.thread.title}" %> +<% title "Edit Reply: #{@reply.thread.title}" %> <% position = @reply.thread.replies.order(:id).index(@reply) @@ -6,10 +6,10 @@ %> <%= link_to @reply.thread.forum.group, forumgroup_path(@reply.thread.forum.group) %> → <%= link_to @reply.thread.forum, @reply.thread.forum %> → <%= link_to @reply.thread, forumthread_path(@reply.thread, page: page) + "#reply-#{@reply.id}" %> → Edit reply -<%= f.submit "Reply", class: "btn blue left" %>
<% end %> -<%= button_to "Delete reply", [@reply.thread, @reply], method: "delete", data: {confirm: "Delete reply forever?"}, class: "btn red right" %>
- \ No newline at end of file +<%= button_to "Delete Reply", [@reply.thread, @reply], method: "delete", data: {confirm: "Delete reply forever?"}, class: "btn red right" %>
+ diff --git a/app/views/users/change_password.html.erb b/app/views/users/change_password.html.erb index 54a935c..03ce6a8 100644 --- a/app/views/users/change_password.html.erb +++ b/app/views/users/change_password.html.erb @@ -1,10 +1,10 @@ <% title "Change Password" %> -<%= f.submit "Save profile", class: "btn variable-size left", disabled: (!@user.confirmed? && @user.is?(current_user)) %>
+<%= f.submit "Save Profile", class: "btn variable-size left", disabled: (!@user.confirmed? && @user.is?(current_user)) %>
- <%= link_to "Edit login details", edit_login_user_path(@user), class: "btn variable-size right" %> - <%= link_to "Notification settings", edit_notifications_user_path(@user), class: "btn variable-size right" %> - <%= link_to "Website settings", edit_website_settings_user_path(@user), class: "btn variable-size right" %> + <%= link_to "Edit Login Details", edit_login_user_path(@user), class: "btn variable-size right" %> + <%= link_to "Notification Settings", edit_notifications_user_path(@user), class: "btn variable-size right" %> + <%= link_to "Website Settings", edit_website_settings_user_path(@user), class: "btn variable-size right" %>
diff --git a/app/views/users/edit_login.html.erb b/app/views/users/edit_login.html.erb index 6fef6d3..2fb9903 100644 --- a/app/views/users/edit_login.html.erb +++ b/app/views/users/edit_login.html.erb @@ -1,7 +1,7 @@ <% title "Edit Login Credentials: #{@user.name}" %> <%= link_to @user.name, @user %> → Edit Login credentials -<%= f.submit "Save changes", class: "btn blue left" %>
+<%= f.submit "Save Changes", class: "btn blue left" %>
-<% end %> \ No newline at end of file +<% end %> diff --git a/app/views/users/edit_notifications.html.erb b/app/views/users/edit_notifications.html.erb index 9c45445..5da23ae 100644 --- a/app/views/users/edit_notifications.html.erb +++ b/app/views/users/edit_notifications.html.erb @@ -48,6 +48,6 @@All notification emails will be encrypted with this key if you supply it.
<%= f.text_area :public_key, placeholder: "-----BEGIN PGP PUBLIC KEY BLOCK-----" %> -<%= f.submit "Save changes", class: "btn blue left" %>
+<%= f.submit "Save Changes", class: "btn blue left" %>
<% end %> diff --git a/app/views/users/edit_website_settings.html.erb b/app/views/users/edit_website_settings.html.erb index 2fdeffb..00c75aa 100644 --- a/app/views/users/edit_website_settings.html.erb +++ b/app/views/users/edit_website_settings.html.erb @@ -27,7 +27,7 @@<%= f.submit "Save changes", class: "btn blue left" %>
+<%= f.submit "Save Changes", class: "btn blue left" %>
<% end %>You lost your password? Don't do that!
Luckily for you, you can reset your password. Please use the command /gettoken <your email address>, then fill in the form below:
<%= submit_tag "Reset password", class: "btn blue" %>
-<% end %> \ No newline at end of file +<%= submit_tag "Reset Password", class: "btn blue" %>
+<% end %> diff --git a/app/views/users/new.html.erb b/app/views/users/new.html.erb index 1d8a8c6..cf9b78f 100644 --- a/app/views/users/new.html.erb +++ b/app/views/users/new.html.erb @@ -1,6 +1,6 @@ -<% title "Sign up" %> +<% title "Sign Up" %> -