Skip to content

Commit

Permalink
Made legend float beside body template
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Neufeld committed Aug 6, 2009
1 parent a048a1b commit 4b434e5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
14 changes: 7 additions & 7 deletions app/views/freemailer_campaigns/edit.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,11 @@
= f.label :subject
%br
= f.text_field :subject
%p
%p#campaign_template
= f.label :body_template
%br
= f.text_area :body_template
%p
= f.submit 'Update'
/ = f.submit 'Send (implement)'
%div#merge_info
%div#campaign_legend
%h3 Available Merges
%ul
%li
Expand Down Expand Up @@ -55,8 +52,11 @@
%i
123 Some Pl.
%br
My Town, USA 12345

My Town, USA 12345

%p{:style => 'clear:left'}
= f.submit 'Update'
/ = f.submit 'Send (implement)'
= link_to 'Show', @freemailer_campaign
|
= link_to 'All Campaigns', freemailer_campaigns_path
8 changes: 8 additions & 0 deletions public/stylesheets/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -361,3 +361,11 @@ span.tag-display span {
padding-bottom: 2px;
}

#campaign_template {
float: left;
}
#campaign_legend {
float: left;
padding: 2em;
}

0 comments on commit 4b434e5

Please sign in to comment.