Name | Remarks | |
---|---|---|
<%= r.text_field :name %> | <%= r.text_field :remarks, :rows => 1 %> | <%= r.submit "OK" %> | <% end %>
New generic role | |
---|---|
Name | <%= new_role.text_field :name %> |
Remarks | <%= new_role.text_field :remarks %> |
<%= new_role.submit "Create" %> |
Delete generic role | |
---|---|
Select role | <%= select_tag "id", Cbac::GenericRole.find(:all).collect{|role|""} %> |
<%= submit_tag "Delete" %> |