app/views/phcscriptcdnpro/scriptcdn/mains/index.html.erb in phcscriptcdnpro-1.5.2 vs app/views/phcscriptcdnpro/scriptcdn/mains/index.html.erb in phcscriptcdnpro-1.5.3

- old
+ new

@@ -40,29 +40,17 @@ <thead> <tr> <th>Script Name</th> <th>Script Description</th> - <th>Version</th> - <th></th> </tr> </thead> <tbody> <% @scriptcdn_mains.each do |scriptcdn_main| %> <tr> - <td><%= scriptcdn_main.scriptname %></td> - <td><%= scriptcdn_main.scriptdescription %></td> - <td><%= scriptcdn_main.version %></td> - <td> - <div class="btn-group" role="group" aria-label="Script"> - <% if current_user %> - <%= link_to 'Show', scriptcdn_main, class: "btn blue-chambray" %> - <%= link_to 'Edit', edit_scriptcdn_main_path(scriptcdn_main), class: "btn blue-chambray" %> - <%= link_to 'Destroy', scriptcdn_main, class: "btn blue-chambray", method: :delete, data: { confirm: 'Are you sure?' }, class: "btn red-mint" %> - <% end %> - </div> - </td> + <td><%= link_to scriptcdn_main.scriptname, scriptcdn_main %></td> + <td><%= link_to scriptcdn_main.scriptdescription, scriptcdn_main %></td> </tr> <% end %> </tbody> </table>