Sha256: 16dd95472556ff711ea81375a42c69a6408316e0c821f0a63aae2f77599e102c
Contents?: true
Size: 1.85 KB
Versions: 25
Compression:
Stored size: 1.85 KB
Contents
<div class="form-toolbar"> <div class="btn-group pull-right"> <% if ! defined?(unbuttoned) %> <% if defined?(post_record) && !post_record.id.blank? %> <% if defined?(@post_type) && @post_type == 'post' %> <%= link_to admin_article_path(post_record), method: :delete, data: { confirm: t("views.admin.generic.confirm") }, :class => 'btn btn-sm btn-danger pull-left' do %> <i class="fa fa-trash-o"></i> <%= t("views.admin.generic.delete") %> <% end %> <% else %> <%= link_to admin_page_path(post_record), method: :delete, data: { confirm: t("views.admin.generic.confirm") }, :class => 'btn btn-sm btn-danger pull-left' do %> <i class="fa fa-trash-o"></i> <%= t("views.admin.generic.delete") %> <% end %> <% end %> <%= link_to page_path(post_record), :class => 'btn btn-default btn-sm pull-left hidden-xs', :target => '_blank' do %> <i class="fa fa-search"></i> <%= t("views.admin.generic.view") %> <% end %> <% end %> <% if defined?(admin_record) && !admin_record.id.blank? %> <% if admin_record.overlord != "Y" %> <%= link_to admin_administrator_path(admin_record), method: :delete, data: { confirm: t("views.admin.generic.confirm") }, :class => 'btn btn-sm btn-danger pull-left' do %> <i class="fa fa-trash-o"></i> <%= t("views.admin.generic.delete") %> <% end %> <% end %> <% end %> <button type="submit" class="btn btn-primary btn-sm pull-right"><i class="fa fa-check"></i> <%= t("views.admin.generic.save") %></button> <% else %> <% end %> </div> <div class="clearfix"></div> </div>
Version data entries
25 entries across 25 versions & 1 rubygems