Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Floppy committed Oct 11, 2024
1 parent ca7f0f7 commit 797d3d9
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions app/views/follows/remote_follow.html.erb
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
<h2><%= t(".title", name: @name ) %></h2>
<h2><%= t(".title", name: @name) %></h2>
<p>
<%= t(".help", name: @name) %>
<%= t(".help", name: @name) %>
</p>

<% if @remote_account %>
<div class="alert alert-info">
<%= icon "person-arms-up", "" %>
<%= t(".no_results_html", query: @remote_account ) %>
</div>
<div class="alert alert-info">
<%= icon "person-arms-up", "" %>
<%= t(".no_results_html", query: @remote_account) %>
</div>
<% end %>

<div class="col-8">
<%= form_with url: perform_remote_follow_path, class: "mt-3" do |f| %>
<div class="input-group mb-3">
<%= f.hidden_field :uri, value: @uri %>
<%= f.hidden_field :name, value: @name %>
<%= f.text_field :remote_account, class: "form-control", placeholder: translate(".placeholder"),
aria_label: translate(".submit"), aria_describedby: "button-search", value: @remote_account %>
<%= f.submit translate(".submit"), class: "btn btn-primary", name: nil %>
</div>
<% end %>
<%= form_with url: perform_remote_follow_path, class: "mt-3" do |f| %>
<div class="input-group mb-3">
<%= f.hidden_field :uri, value: @uri %>
<%= f.hidden_field :name, value: @name %>
<%= f.text_field :remote_account, class: "form-control", placeholder: translate(".placeholder"),
aria_label: translate(".submit"), aria_describedby: "button-search", value: @remote_account %>
<%= f.submit translate(".submit"), class: "btn btn-primary", name: nil %>
</div>
<% end %>
</div>

0 comments on commit 797d3d9

Please sign in to comment.