AlchemyCMS/alchemy_cms

View on GitHub
app/views/alchemy/admin/sites/_form.html.erb

Summary

Maintainability
Test Coverage
<%= alchemy_form_for site, url: resource_path(site, search_filter_params) do |f| %>
  <%= f.input :host, hint: resource_handler.help_text_for(name: :host)&.html_safe %>
  <%= f.input :name %>
  <%= f.input :public %>
  <%= f.input :aliases, hint: resource_handler.help_text_for(name: :aliases), input_html: {rows: 4} %>
  <%= f.input :redirect_to_primary_host %>
  <%= f.submit Alchemy.t(:save) %>
<% end %>