From: Tomas Sedovic <[email protected]>

https://bugzilla.redhat.com/show_bug.cgi?id=641380

Disabled the "inactive" option for new/edit user form for now as it's not
implemented yet.
---
 src/app/views/users/_form.haml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/app/views/users/_form.haml b/src/app/views/users/_form.haml
index 1017858..bb3c0c2 100644
--- a/src/app/views/users/_form.haml
+++ b/src/app/views/users/_form.haml
@@ -13,7 +13,7 @@
     .grid_5
       = radio_button_tag "user_status","Active",true
       = label_tag "user_status_active", "Active"
-      = radio_button_tag "user_status","Inactive"
+      = radio_button_tag "user_status","Inactive", false, :disabled => true
       = label_tag "user_status_inactive", "Inactive"
 %fieldset.clear
   = form.label :first_name, t(:first_name), :class => "alpha grid_3"
-- 
1.7.2.3

_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel

Reply via email to