Adds styles (direct-uploads) to admin dashboard actions form

This commit is contained in:
taitus
2019-02-02 15:23:48 +01:00
parent 054bbc5d7b
commit 931bf18562
3 changed files with 12 additions and 7 deletions

View File

@@ -319,7 +319,8 @@
.legislation-process-edit,
.milestone-new,
.milestone-edit,
.image-form {
.image-form,
.dashboard-action-form {
@include direct-uploads;
}

View File

@@ -3,6 +3,8 @@
<h2><%= t("admin.dashboard.actions.edit.editing") %></h2>
</div>
<%= form_for dashboard_action, url: { action: 'update' } do |f| %>
<%= render 'form', f: f %>
<% end %>
<div class="dashboard-action-form ">
<%= form_for dashboard_action, url: { action: 'update' } do |f| %>
<%= render 'form', f: f %>
<% end %>
</div>

View File

@@ -3,6 +3,8 @@
<h2><%= t("admin.dashboard.actions.new.creating") %></h2>
</div>
<%= form_for dashboard_action, url: { action: 'create' } do |f| %>
<%= render 'form', f: f %>
<% end %>
<div class="dashboard-action-form ">
<%= form_for dashboard_action, url: { action: 'create' } do |f| %>
<%= render 'form', f: f %>
<% end %>
</div>