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>&nbsp;<%= 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>&nbsp;<%= 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>&nbsp;<%= 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>&nbsp;<%= 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>&nbsp;<%= t("views.admin.generic.save") %></button>
      <% else %>
          &nbsp;
      <% end %>
    </div>
    <div class="clearfix"></div>
</div>

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
roroacms-1.0.0 app/views/roroacms/admin/partials/_submit_bar.html.erb
roroacms-0.0.8.6.7 app/views/roroacms/admin/partials/_submit_bar.html.erb
roroacms-0.0.8.6.6 app/views/roroacms/admin/partials/_submit_bar.html.erb
roroacms-0.0.8.6.5 app/views/roroacms/admin/partials/_submit_bar.html.erb
roroacms-0.0.8.6.4 app/views/roroacms/admin/partials/_submit_bar.html.erb
roroacms-0.0.8.6.3 app/views/roroacms/admin/partials/_submit_bar.html.erb
roroacms-0.0.8.6.2 app/views/roroacms/admin/partials/_submit_bar.html.erb
roroacms-0.0.8.6.1 app/views/roroacms/admin/partials/_submit_bar.html.erb
roroacms-0.0.8.6 app/views/roroacms/admin/partials/_submit_bar.html.erb
roroacms-0.0.8.5 app/views/roroacms/admin/partials/_submit_bar.html.erb
roroacms-0.0.8.4 app/views/roroacms/admin/partials/_submit_bar.html.erb
roroacms-0.0.8.3 app/views/roroacms/admin/partials/_submit_bar.html.erb
roroacms-0.0.8.2 app/views/roroacms/admin/partials/_submit_bar.html.erb
roroacms-0.0.8.1 app/views/roroacms/admin/partials/_submit_bar.html.erb
roroacms-0.0.8 app/views/roroacms/admin/partials/_submit_bar.html.erb
roroacms-0.0.7.10 app/views/roroacms/admin/partials/_submit_bar.html.erb
roroacms-0.0.7.8 app/views/roroacms/admin/partials/_submit_bar.html.erb
roroacms-0.0.7.7 app/views/roroacms/admin/partials/_submit_bar.html.erb
roroacms-0.0.7.6 app/views/roroacms/admin/partials/_submit_bar.html.erb
roroacms-0.0.7.5 app/views/roroacms/admin/partials/_submit_bar.html.erb