app/views/crud/_scopes.html.erb in templus_models-1.6.6 vs app/views/crud/_scopes.html.erb in templus_models-1.6.7

- old
+ new

@@ -1,11 +1,11 @@ <% if @crud_helper.scopes.present? %> <% if @crud_helper.scopes.class == Array %> <% @crud_helper.scopes.each do |escopo| %> <% url = params[:associacao].present? ? crud_associacao_models_path(model: params[:model], id: params[:id], associacao: params[:associacao], scope: escopo[0]) : crud_models_path(model: @model.name.underscore, scope: escopo[0])%> <%= link_to url, id: "#{escopo[0]}", data: {push: true, crumb: 'wielka'} do%> - <div style="float: left; margin-left: 10px; min-width: 100px; position:relative;"> - <div class="widget style1 gray-bg" style="padding:15px 0px!important;"> + <div style="float: left; margin-left: 10px; "> + <div class="widget style1 gray-bg" style="padding: 15px 10px!important;"> <div class="row vertical-align text-center" style="margin:0!important;"> <h3 class="font-bold" style="width:100%;"> <%= escopo[1] %> <span class="label label-success pull-right" style="margin-left: 10px;"> <% if current_usuario.present? %>