summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-01-04 10:24:27 +0100
committerspag <spag@golwen.net>2013-01-04 10:24:27 +0100
commit3f8a30c006fd36e25245e9571a4a9881d2abcb0a (patch)
tree283d39abad0195e6bd69f4dad2e067177e4c850d /app
parent7171f3ecfb8af4f9fcc30bcd168159d05ec4ae7f (diff)
parent5867df0eff12622c826cf0d699d3c2ec4aff5a7d (diff)
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'app')
-rw-r--r--app/views/phone_book_entries/_form_core.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/phone_book_entries/_form_core.html.haml b/app/views/phone_book_entries/_form_core.html.haml
index c05139e..5159668 100644
--- a/app/views/phone_book_entries/_form_core.html.haml
+++ b/app/views/phone_book_entries/_form_core.html.haml
@@ -1,6 +1,6 @@
.inputs
= f.input :is_male, :collection => [[true, t('phone_book_entries.form.gender.male')], [false, t('phone_book_entries.form.gender.female')]], :label_method => :last, :value_method => :first, :label => t('phone_book_entries.form.male.label'), :hint => conditional_hint('phone_book_entries.form.gender.hint'), :label => t('phone_book_entries.form.gender.label'), :as => :radio
- = f.input :first_name, :label => t('phone_book_entries.form.first_name.label'), :hint => conditional_hint('phone_book_entries.form.first_name.hint')
+ = f.input :first_name, :label => t('phone_book_entries.form.first_name.label'), :hint => conditional_hint('phone_book_entries.form.first_name.hint'), :autofocus => true
= f.input :middle_name, :label => t('phone_book_entries.form.middle_name.label'), :hint => conditional_hint('phone_book_entries.form.middle_name.hint')
= f.input :last_name, :label => t('phone_book_entries.form.last_name.label'), :hint => conditional_hint('phone_book_entries.form.last_name.hint')
= f.input :birth_name, :label => t('phone_book_entries.form.birth_name.label'), :hint => conditional_hint('phone_book_entries.form.birth_name.hint')