app/views/admin/photos/_photo_uploader.html.erb in fullstack-cms-0.3.3 vs app/views/admin/photos/_photo_uploader.html.erb in fullstack-cms-0.3.4

- old
+ new

@@ -4,14 +4,12 @@ </div> <% else %> <div class="gallery mb1" id="photos"> - <%= btn t('fullstack.admin.upload', :default => "Upload"), - :icon => :upload, - :"icon_color" => :white, - :"data-toggle" => "collapse", - :"data-target" => "#photo-uploader", :type => :success %> + <%= link_to "javascript:void(0);", :class => "btn btn-success", :"data-toggle" => "collapse", :"data-target" => "#photo-uploader" do %> + <i class="icon-upload icon-white"></i> <%= t('fullstack.admin.upload', :default => "Upload") %> + <% end %> <div id="photo-uploader" class="photo-uploader collapse" data-session-key="<%= request.session_options[:key] %>" data-session-id="<%= request.session_options[:id] %>" data-url="<%= admin_photos_path(:photographable_id => photographable.id, :photographable_type => photographable.class.name) %>"> \ No newline at end of file