Made many buttons and titles more consistent.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
end
|
||||
%>
|
||||
|
||||
<h1>Edit thread</h1>
|
||||
<h1>Edit Thread</h1>
|
||||
<%= link_to @thread.forum.group, forumgroup_path(@thread.forum.group) %> → <%= link_to @thread.forum, @thread.forum %> → <%= link_to @thread, @thread %> → Edit thread
|
||||
<%= form_for @thread do |f|%>
|
||||
<table>
|
||||
@@ -35,7 +35,7 @@
|
||||
<%= f.text_field :title, placeholder: "Title" %>
|
||||
</div>
|
||||
<%= render partial: "md_editor", locals: {name: "forumthread[content]", content: @thread.content} %>
|
||||
<p><%= f.submit "Update thread", class: "btn blue left" %></p>
|
||||
<p><%= f.submit "Update Thread", class: "btn blue left" %></p>
|
||||
<% end %>
|
||||
<%= button_to "Delete thread", @thread, :method => "delete", data: {confirm: "Delete thread & comments forever?"}, class: "btn red right" %>
|
||||
<div class="clear"></div>
|
||||
<%= button_to "Delete Thread", @thread, :method => "delete", data: {confirm: "Delete thread & comments forever?"}, class: "btn red right" %>
|
||||
<div class="clear"></div>
|
||||
|
||||
Reference in New Issue
Block a user