Permalink
Browse files

updated form layout

  • Loading branch information...
1 parent 41f6b25 commit dfc285257d032de1cfb53e173f96494dc53988f4 @Crunch09 committed Mar 23, 2013
@@ -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>
@@ -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>

0 comments on commit dfc2852

Please sign in to comment.