diff --git a/templates/add_form.erb b/templates/add_form.erb index d88874e..89b750e 100644 --- a/templates/add_form.erb +++ b/templates/add_form.erb @@ -1,9 +1,17 @@ --- -host: <%= options[:host] %> # <%= I18n.t('form.add_item.host') %> -user: <%= options[:user] %> # <%= I18n.t('form.add_item.login') %> -group: <%= options[:group] %> # <%= I18n.t('form.add_item.group') %> -protocol: <%= options[:protocol] %> # <%= I18n.t('form.add_item.protocol') %><% unless password %> -password: # <%= I18n.t('form.add_item.password') %><% end %> -port: <%= options[:port] %> # <%= I18n.t('form.add_item.port') %> -comment: <%= options[:comment] %> # <%= I18n.t('form.add_item.comment') %> -otp_key: <%= options[:otp] %> # <%= I18n.t('form.add_item.otp_key') %> +# <%= I18n.t('form.add_item.host') %> +host: <%= options[:host] %> +# <%= I18n.t('form.add_item.login') %> +user: <%= options[:user] %> +# <%= I18n.t('form.add_item.group') %> +group: <%= options[:group] %> +# <%= I18n.t('form.add_item.protocol') %> +protocol: <%= options[:protocol] %><% unless password %> +# <%= I18n.t('form.add_item.password') %> +password:<% end %> +# <%= I18n.t('form.add_item.port') %> +port: <%= options[:port] %> +# <%= I18n.t('form.add_item.comment') %> +comment: <%= options[:comment] %> +# <%= I18n.t('form.add_item.otp_key') %> +otp_key: <%= options[:otp] %>