ftp-manager/app/views/accounts/show.html.erb

30 lines
577 B
Plaintext

<p id="notice"><%= notice %></p>
<p>
<strong>Username:</strong>
<%= @account.username %>
</p>
<p>
<strong>Password:</strong>
<span class="passwd" data-id="passwd">
<%= link_to reveal_password_path(@account.id), remote: true do %>
<i class="fa fa-lock fa-lg"></i>
<% end %>
<span>********</span>
</span>
</p>
<p>
<strong>Home Folder:</strong>
<%= @account.home_folder %>
</p>
<p>
<strong>Contact Email:</strong>
<%= @account.contact_email %>
</p>
<%= link_to 'Edit', edit_account_path(@account) %> |
<%= link_to 'Back', accounts_path %>