docbrown/app/views/admin/html_variants/edit.html.erb
Rajat Talesra 93f73636c7
Post bootstrap changes - remove headings from admin.scss (#19019)
* h1 and h2 design fixes

* h2 redesign fixes

* Removed incorrect code

* Revert incorrect test code

* h3 heading redesign

* h4,h4,h5 headings redesign

* Minor design fixes

* Fixed all heading styles

* Test case fix

* Revert incorrect if condition

* Revert incorrect if condition

* Removed non required div
2023-02-02 15:52:35 +05:30

11 lines
525 B
Text

<h1 class="crayons-title mb-4">Edit HTML Variant</h1>
<div class="crayons-card p-6">
<%= form_for([:admin, @html_variant], method: :patch) do %>
<%= render "form" %>
<div class="flex gap-2">
<%= submit_tag "Update HTML Variant", class: "c-btn c-btn--primary" %>
<%= link_to "Preview", admin_html_variant_path(@html_variant), class: "c-link c-link--block" %>
<%= link_to "Fork", new_admin_html_variant_path(fork_id: @html_variant.id), class: "c-link c-link--block" %>
</div>
<% end %>
</div>