Skip to content

Commit

Permalink
Users [#14 state:open] Added the tooltips when a user is being create…
Browse files Browse the repository at this point in the history
…d. Must clarify what will be said in the messages though.
  • Loading branch information
keegan committed Jul 4, 2008
1 parent 5acc556 commit 0398c76
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/views/sessions/new.html.haml
Expand Up @@ -18,4 +18,7 @@
%tr
%td
 
%td= submit_tag 'Log in'
%td
= submit_tag 'Log in'
 
.right{:style => "display: inline"}= link_to "Forgot my password"
5 changes: 5 additions & 0 deletions app/views/templates/form.html.haml
@@ -1,6 +1,11 @@
%h1.underline
= @zone_template.new_record? ? "New Zone Template" : "Update Zone Template"

%div{:style => "display: none;"}
#zone-name
The name by which our zone templates will be known.
#zone-ttl

- form_for( @zone_template ) do |f|
= error_messages_for :zone_template
%table
Expand Down
8 changes: 8 additions & 0 deletions app/views/users/form.html.haml
@@ -1,6 +1,12 @@
%h1.underline
= @user.new_record? ? 'New User' : 'Update User'

%div{:style => "display: none"}
#admin-user
This user has access to all BIND DLZ on Rails facilities.
#domain-owner
This user can only change aspects of his domain.

- form_for( @user ) do |f|
= error_messages_for( :user )

Expand All @@ -22,9 +28,11 @@
%td
= f.radio_button :admin, true
Admin
= prototip_help_icon('admin-user')
%br
= f.radio_button :admin, false
Domain Owner
= prototip_help_icon('domain-owner')
%tr
%td  
%td  
Expand Down

0 comments on commit 0398c76

Please sign in to comment.