summaryrefslogtreecommitdiff
path: root/app/views/tenants
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-23 17:55:50 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-23 17:55:50 +0100
commit4cad2a069fcead88579373a285a0516a3d500c43 (patch)
tree8cf560a2fb2ea5de24946894fcda07335f837ea0 /app/views/tenants
parent4e075be70a747fe18afd9e914bad899c2d202d90 (diff)
UI improvement.
Diffstat (limited to 'app/views/tenants')
-rw-r--r--app/views/tenants/_form_core.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/tenants/_form_core.html.haml b/app/views/tenants/_form_core.html.haml
index e0b173d..8f6e08f 100644
--- a/app/views/tenants/_form_core.html.haml
+++ b/app/views/tenants/_form_core.html.haml
@@ -1,3 +1,4 @@
.inputs
= f.input :name, :label => t('tenants.form.name.label'), :hint => conditional_hint('tenants.form.name.hint'), :autofocus => true
- = f.input :description, :label => t('tenants.form.description.label'), :hint => conditional_hint('tenants.form.description.hint')
+ - if !@tenant.new_record?
+ = f.input :description, :label => t('tenants.form.description.label'), :hint => conditional_hint('tenants.form.description.hint')