summaryrefslogtreecommitdiff
path: root/app/views/tenants/_form_core.html.haml
diff options
context:
space:
mode:
authorJulian Pawlowski <julian.pawlowski@gmail.com>2013-01-23 18:03:06 +0100
committerJulian Pawlowski <julian.pawlowski@gmail.com>2013-01-23 18:03:06 +0100
commit398d5706752a583ff8bc3ec9101fc75b507bbb89 (patch)
treea31b27b4cd1a2e05e64199814ca0ab92eb177a62 /app/views/tenants/_form_core.html.haml
parente5db9179c75b6b6176e4f5b67ff94a10122ecfbd (diff)
parent4cad2a069fcead88579373a285a0516a3d500c43 (diff)
Merge branch 'develop' of https://github.com/amooma/GS5 into develop
Diffstat (limited to 'app/views/tenants/_form_core.html.haml')
-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')