|
|
|
|
@ -2,34 +2,7 @@ |
|
|
|
|
|
|
|
|
|
%= include 'dashboard/_blog_nav', page => 'media' |
|
|
|
|
|
|
|
|
|
% if ( my $confirmation = flash 'confirmation' ) { |
|
|
|
|
<div style="margin-top: 2em" class="alert alert-success" role="alert"> |
|
|
|
|
<%== $confirmation %> |
|
|
|
|
</div> |
|
|
|
|
% } |
|
|
|
|
|
|
|
|
|
% if ( my $error_message = flash 'error_message' ) { |
|
|
|
|
<div style="margin-top: 2em" class="alert alert-danger" role="alert"> |
|
|
|
|
<%== $error_message %> |
|
|
|
|
</div> |
|
|
|
|
% } |
|
|
|
|
|
|
|
|
|
% if ( $c->stash->{success} ) { |
|
|
|
|
<div style="margin-top: 2em" class="alert alert-success" role="alert"> |
|
|
|
|
<%= $c->stash->{success_message} %> |
|
|
|
|
</div> |
|
|
|
|
% } |
|
|
|
|
|
|
|
|
|
% if ( $c->stash->{errors} ) { |
|
|
|
|
<div style="margin-top: 2em" class="alert alert-danger" role="alert"> |
|
|
|
|
There were errors with your request that could not be resolved: |
|
|
|
|
<ul> |
|
|
|
|
% for my $error ( @{$c->stash->{errors}} ) { |
|
|
|
|
<li><%= $error %></li> |
|
|
|
|
% } |
|
|
|
|
</ul> |
|
|
|
|
</div> |
|
|
|
|
% } |
|
|
|
|
%= include '_base/status_window'; |
|
|
|
|
|
|
|
|
|
<form class="row mt-3 gy-2 gx-3 align-items-center" method="POST" enctype="multipart/form-data" action="<%= $c->url_for( 'do_dashboard_blog_media' ) %>"> |
|
|
|
|
<div class="col-auto"> |
|
|
|
|
|