Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updated form layout

  • Loading branch information...
commit dfc285257d032de1cfb53e173f96494dc53988f4 1 parent 41f6b25
@Crunch09 authored
View
30 app/views/refinery/reports/admin/departments/_person_fields.html.erb
@@ -1,15 +1,15 @@
-
- <%= f.label :name, class: 'inline_block' %>
- <%= f.text_field :name %>
-
-
- <%= f.label :position, class: 'inline_block' %>
- <%= f.text_field :position %>
-
-
- <%= f.label :info, class: 'inline_block' %>
- <%= f.text_field :info %>
-
-
-<%= f.link_to_remove refinery_icon_tag('delete') %>
-
+ <span>
+ <%= f.label :name, class: 'inline_block' %>
+ <%= f.text_field :name %>
+ </span>
+ <span>
+ <%= f.label :position, class: 'inline_block' %>
+ <%= f.text_field :position %>
+ </span>
+ <span>
+ <%= f.label :info, class: 'inline_block' %>
+ <%= f.text_field :info %>
+ </span>
+ <span>
+ <%= f.link_to_remove refinery_icon_tag('delete') %>
+ </span>
View
24 app/views/refinery/reports/admin/departments/_vehicle_fields.html.erb
@@ -1,13 +1,11 @@
-<div class="field">
- <%= f.label :name %>
- <%= f.text_field :name %>
-</div>
-
-<div class="field">
- <%= f.label :short_name %>
- <%= f.text_field :short_name %>
-</div>
-
-<div class="field">
-<%= f.link_to_remove t('delete', :scope => 'refinery.reports.departments.admin.departments.vehicle') %>
-</div>
+ <span>
+ <%= f.label :name, class: 'inline_block' %>
+ <%= f.text_field :name %>
+ </span>
+ <span>
+ <%= f.label :short_name, class: 'inline_block' %>
+ <%= f.text_field :short_name %>
+ </span>
+ <span>
+ <%= f.link_to_remove refinery_icon_tag('delete') %>
+ </span>
Please sign in to comment.
Something went wrong with that request. Please try again.