mirror of
https://github.com/nishiki/manage-password.git
synced 2025-02-20 01:50:04 +00:00
feat: minor improvement add_form interface
This commit is contained in:
parent
65db261c00
commit
0195771c76
1 changed files with 16 additions and 8 deletions
|
@ -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] %>
|
||||
|
|
Loading…
Add table
Reference in a new issue