improves styles for budgets views

This commit is contained in:
Alberto Garcia Cabeza
2017-01-04 19:18:41 +01:00
parent 9c2857e75b
commit 8b1e8fed5b
8 changed files with 61 additions and 26 deletions

View File

@@ -2,7 +2,7 @@
<%= render 'shared/errors', resource: @investment %>
<div class="row">
<div class="small-12 column">
<div class="small-12 medium-8 column">
<%= f.label :heading_id, t("budget.investments.form.heading") %>
<%= f.select :heading_id, budget_heading_select_options(@budget), {include_blank: true, label: false} %>
</div>
@@ -44,8 +44,8 @@
<% end %>
<div class="actions small-12 column">
<%= f.submit(class: "button", value: t("budget.investments.form.submit_buttons.#{action_name}")) %>
<div class="actions small-12 medium-6 large-4 end column">
<%= f.submit(class: "button expanded", value: t("budget.investments.form.submit_buttons.#{action_name}")) %>
</div>
</div>
<% end %>