diff options
author | Luke Shumaker <shumakl@purdue.edu> | 2014-04-27 21:30:16 -0400 |
---|---|---|
committer | Luke Shumaker <shumakl@purdue.edu> | 2014-04-27 21:30:16 -0400 |
commit | ee1eaebb77048d3e3537b5f1f9aead5dc379f849 (patch) | |
tree | 0b6c73f2641c94dd353f6b28550260f26aaed25d /app/views/servers/_form.html.erb | |
parent | 83aa6970f730005d8322402ee316e2731fd42506 (diff) | |
parent | 0f6489cdfcc1c75500a66bc906a13b98629e0617 (diff) |
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'app/views/servers/_form.html.erb')
-rw-r--r-- | app/views/servers/_form.html.erb | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/app/views/servers/_form.html.erb b/app/views/servers/_form.html.erb index 1afde11..8853a80 100644 --- a/app/views/servers/_form.html.erb +++ b/app/views/servers/_form.html.erb @@ -1,18 +1,19 @@ <%= form_for(@server) do |f| %> <%= render "common/error_messages", :target => @server %> - <fieldset> - <legend>Default permissions for new users</legend> - <ul> + <fieldset style="color: rgb(221, 145, 37)"> + <legend style="color: rgb(221, 145, 37); border-color: rgb(221, 145, 37)">Default permissions for new users</legend> + <ul > <%= fields_for "server[default_user_abilities]", @server.default_user_abilities do |a| %> <% @server.default_user_abilities.keys.each do |ability| %> - <li><label><%= a.check_box(ability) %> <%= ability.to_s.humanize %></label></li> + <li ><label><%= a.check_box(ability) %> <%= ability.to_s.humanize %></label></li> <% end %> <% end %> </ul> </fieldset> - - <div class="actions"> - <%= f.submit %> - </div> + <p> + <div class="actions"> + <%= f.submit %> + </div> + </p> <% end %> |