Project

General

Profile

« Previous | Next » 

Revision 01984fb7

Added by Amos Benari almost 13 years ago

  • ID 01984fb762096e21d3318145f69d4fc74a9f97a1

New artwork

  • dark top-bar
  • moved the search box below the tabs line.
  • improved the show host page
  • added notifications
  • Settings tab now changes title based on the active action
  • lots of cleanups - fixes #1066, fixes #926, fixes #628 and many other minor changes

Signed-off-by: Ohad Levy <>

View differences:

app/views/roles/_form.rhtml
<div class="title_action">
<%= check_all_links 'permissions' %>
</div>
<% form_for @role do |f| %>
<%= error_messages_for 'role' %>
<% if @role.builtin? %>
<h2><b>Name</b> <i><%= @role.name -%></i></h2>
<h2><b><%= f.label :name %></b> <i><%= @role.name -%></i></h2>
<% else %>
<%= f.text_field :name, :label => "Name", :style => "margin-left:1px;", :required => true %>
<%= f.label :name, "Name", :class => "span-2" %>
<%= f.text_field :name %>
<% end %>
<h3>Permissions</h3>
......
<% end %>
<% end %>
<% end %>
<br /><%= check_all_links 'permissions' %>
<%= hidden_field_tag 'role[permissions][]', '' %>
<%= hidden_field_tag 'role[permissions][]', '' %>
</div>
<%= submit_tag "Submit" %>
<% end %>

Also available in: Unified diff