Sha256: 2ea3731f36edcda5cace93761e15939c6e9303df01a9add40710e356c6ff00f6
Contents?: true
Size: 783 Bytes
Versions: 2
Compression:
Stored size: 783 Bytes
Contents
<% content_for :title do %> <%= "#{ t :edit }".capitalize %> <%= @structure.name.humanize.split.map(&:capitalize).join(' ') %> <% end %> <% content_for :header do %> <div class="main-header--buttons"> <% if @structure.has_preview %> <a href="<%= "#{binda.root_path}#{@structure.slug}/#{@instance.slug}" %>" class="main-header--link b-btn b-btn-primary"> <i class="fas fa-link"></i> <%= t 'binda.preview' %> <%= @structure.name.humanize.split.map(&:capitalize).join(' ') %> </a> <% end %> </div> <p class="main-header--title"> <%= "#{ t :edit }".capitalize %> <%= @structure.name.humanize.split.map(&:capitalize).join(' ') %> </p> <% end %> <% content_for :content do %> <%= render 'binda/fieldable/form_body' %> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
binda-0.1.5 | app/views/binda/boards/edit.html.erb |
binda-0.1.4 | app/views/binda/boards/edit.html.erb |