<%= render layout: "shared/model_show" do %>

  <%= attribute_table_row(t("myplaceonline.passwords.name"), @obj.name) %>
  <%= attribute_table_row(t("myplaceonline.passwords.password"), @obj.password, @obj.password, "bghighlight") %>
  <%= attribute_table_row(t("myplaceonline.passwords.user"), @obj.user) %>
  <%= attribute_table_row(t("myplaceonline.passwords.email"), @obj.email) %>
  <!--<%= attribute_table_row(t("myplaceonline.passwords.isencrypted"), @obj.password_encrypted?) %>-->
  <%= attribute_table_row(t("myplaceonline.passwords.url"), url_or_blank(@obj.get_url, nil, @obj.password), @obj.password) %>
  <%= attribute_table_row(t("myplaceonline.passwords.account_number"), @obj.account_number) %>
  <%= attribute_table_row_markdown(t("myplaceonline.passwords.notes"), @obj.notes) %>
  <%= attribute_table_row_boolean(t("myplaceonline.passwords.defunct"), !@obj.defunct.nil?) %>

  <% @obj.password_secrets.each do |secret| %>
  
    <%= attribute_table_row(secret.question, secret.answer) %>

  <% end %>
  
<% end %>

<%= render layout: "shared/model_show" do %>

  <%= attribute_table_row(t("myplaceonline.passwords.name"), @obj.name) %>
  <%= attribute_table_row(t("myplaceonline.passwords.password"), @obj.password, @obj.password, "bghighlight") %>
  <%= attribute_table_row(t("myplaceonline.passwords.user"), @obj.user) %>
  <%= attribute_table_row(t("myplaceonline.passwords.email"), @obj.email) %>
  <!--<%= attribute_table_row(t("myplaceonline.passwords.isencrypted"), @obj.password_encrypted?) %>-->
  <%= attribute_table_row(t("myplaceonline.passwords.url"), url_or_blank(@obj.get_url, nil, @obj.password), @obj.get_url) %>
  <%= attribute_table_row(t("myplaceonline.passwords.account_number"), @obj.account_number) %>
  <%= attribute_table_row_markdown(t("myplaceonline.passwords.notes"), @obj.notes) %>
  <%= attribute_table_row_boolean(t("myplaceonline.passwords.defunct"), !@obj.defunct.nil?) %>

  <% @obj.password_secrets.each do |secret| %>
  
    <%= attribute_table_row(secret.question, secret.answer) %>

  <% end %>
  
<% end %>

Use real URL in clipboard
Use real URL in clipboard
