Made many buttons and titles more consistent.

This commit is contained in:
Logan Fick
2018-03-12 19:26:55 -04:00
parent 5eadded99c
commit 16a2b0fa18
22 changed files with 57 additions and 57 deletions

View File

@@ -34,7 +34,7 @@
<td><%= f.select :role_write_id, role_selection, include_blank: false %></td>
</tr>
</table>
<p><%= f.submit "Update group", class: "btn blue left" %></p>
<p><%= f.submit "Update Group", class: "btn blue left" %></p>
<% end %>
<p><%= button_to "Delete group", @group, :method => "delete", data: {confirm: "Delete group?\nForums + Threads will not be accessible!"}, class: "btn red right" %></p>
<div class="clear"></div>
<p><%= button_to "Delete Group", @group, :method => "delete", data: {confirm: "Delete group?\nForums + Threads will not be accessible!"}, class: "btn red right" %></p>
<div class="clear"></div>

View File

@@ -1,6 +1,6 @@
<% title "New Forum: #{@group.name}" %>
<h1>New forum group</h1>
<h1>New Forum Group</h1>
<% role_selection = Role.all_from_to(:normal, :admin).collect{|p|[p.name, p.id]} %>
<%= form_for @group do |f|%>
<table>
@@ -21,6 +21,6 @@
<td><%= f.select :role_write_id, role_selection, include_blank: false %></td>
</tr>
</table>
<p><%= f.submit "Create group", class: "btn blue left" %></p>
<p><%= f.submit "Create Group", class: "btn blue left" %></p>
<div class="clear"></div>
<% end %>
<% end %>