diff --git a/templates/ContentGenerator/Instructor/FileManager/view.html.ep b/templates/ContentGenerator/Instructor/FileManager/view.html.ep index 55e3c8014a..529044ad96 100644 --- a/templates/ContentGenerator/Instructor/FileManager/view.html.ep +++ b/templates/ContentGenerator/Instructor/FileManager/view.html.ep @@ -3,9 +3,16 @@ % my $fileManagerURL = $c->systemLink(url_for, params => { download => $filename, pwd => $c->{pwd} } ); % % # Include a download link -
+
<%= $name %> - <%= link_to maketext('Download') => $fileManagerURL =%> +
+ <%= link_to maketext('Download') => $fileManagerURL, class => 'btn btn-primary' =%> + % if (-T $file) { + <%= link_to maketext('Edit') => + $c->systemLink(url_for, params => { action => 'Edit', files => [$filename], pwd => $c->{pwd} } ), + class => 'btn btn-primary' =%> + % } +

%