registered-sites/app/views/admin/registered_sites/edit.html.erb

6 lines
364 B
Plaintext
Raw Normal View History

<%= form_for @registered_site, url: admin_registered_site_path(@registered_site), html: {class: "form-horizontal main-forms previewable"} do |f| %>
<fieldset>
<div class="line" style="width:auto; height:2px; background-color:<%= @registered_site.active? ? "green" : "red" %>;"></div>
<%= render :partial => 'form', locals: {f: f} %>
</fieldset>
<% end %>