<%= link_to "#", class: "btn btn-default btn-icon", data: { toggle: "off-canvas", target: "#dashboard-nav" } do %> <% end %> <%= link_to [:dashboard, current_post_type], class: "btn btn-default btn-scroll-panel-header" do %> <%= icon('angle-left') %> <% end %>
<%= link_to "#", class: "btn btn-default btn-icon margin-right", data: { toggle: "codemirror" } do %> <% end %>
<%= link_to "Preview", post_path(@post, preview: true), class: "btn btn-sm btn-primary btn-outline margin-right margin-left", id: "preview_post", target: "_blank" %> <%= link_to (@post.published? ? "Update" : "Save / Publish"), "#", class: 'btn btn-primary btn-sm btn-outline', data: { toggle: 'collapse', target: '#post-advanced-settings' }, id: "advanced-settings-panel-toggle" %>
<%= render 'storytime/dashboard/posts/image_toolbar' %>
<%= render 'form' %>