diff --git a/app/views/comments/_form.html.haml b/app/views/comments/_form.html.haml index 676d7f4fb..43b9073b9 100644 --- a/app/views/comments/_form.html.haml +++ b/app/views/comments/_form.html.haml @@ -19,7 +19,7 @@ %span.help-block = render partial: "shared/markdown_help" - .actions.pull-right + .actions.text-right = f.submit 'Post comment', class: 'btn btn-primary' - if defined?(@post) .field diff --git a/app/views/garden_types/_actions.html.haml b/app/views/garden_types/_actions.html.haml index 9dcf04028..e5153d1b9 100644 --- a/app/views/garden_types/_actions.html.haml +++ b/app/views/garden_types/_actions.html.haml @@ -1,4 +1,4 @@ .btn-group.garden_type-actions = render 'shared/buttons/edit', path: edit_garden_type_path(garden_type) - .pull-right + .text-right = render 'shared/buttons/delete', path: garden_type_path(garden_type) diff --git a/app/views/gardens/_thumbnail.html.haml b/app/views/gardens/_thumbnail.html.haml index a2e4ea7eb..f26ab62b9 100644 --- a/app/views/gardens/_thumbnail.html.haml +++ b/app/views/gardens/_thumbnail.html.haml @@ -3,7 +3,7 @@ %h3.panel-title = link_to display_garden_name(garden), garden_path(garden) - if can? :edit, garden - %a.pull-right{ href: edit_garden_path(garden), role: "button", id: "edit_garden_glyphicon" } + %a.text-right{ href: edit_garden_path(garden), role: "button", id: "edit_garden_glyphicon" } %span.glyphicon.glyphicon-pencil{ title: "Edit" } .panel-body{ id: "gardens_panel_body" } .row diff --git a/app/views/harvests/show.html.haml b/app/views/harvests/show.html.haml index c59dfc9fd..28e60243f 100644 --- a/app/views/harvests/show.html.haml +++ b/app/views/harvests/show.html.haml @@ -48,7 +48,7 @@ .row .col-md-6= render @harvest.default_photo .col-md-6 - = link_to 'View all photos >>', planting_photos_path(@harvest), class: 'pull-right' + = link_to 'View all photos >>', planting_photos_path(@harvest), class: 'text-right' .row - @harvest.photos.order(date_taken: :desc).limit(3).each do |photo| .col-md-3= render('photos/thumbnail', photo: photo) \ No newline at end of file diff --git a/app/views/members/_map.html.haml b/app/views/members/_map.html.haml index 711e4d9e0..77a46614e 100644 --- a/app/views/members/_map.html.haml +++ b/app/views/members/_map.html.haml @@ -1,6 +1,6 @@ - if member.latitude && member.longitude #membermap - %p.pull-right + %p.text-right See other members, plantings, seeds and more near = link_to member.location, place_path(member.location, anchor: "members") - else diff --git a/app/views/seeds/_card.html.haml b/app/views/seeds/_card.html.haml index fe59c0cbd..64f8ce6a6 100644 --- a/app/views/seeds/_card.html.haml +++ b/app/views/seeds/_card.html.haml @@ -3,7 +3,7 @@ -# %h3.panel-title -# = link_to seed, seed -# - if can? :edit, seed --# %a.pull-right{ href: edit_seed_path(seed), role: "button", id: "edit_seed_glyphicon" } +-# %a.text-right{ href: edit_seed_path(seed), role: "button", id: "edit_seed_glyphicon" } -# %span.glyphicon.glyphicon-pencil{ title: "Edit" } -# .panel-body -# .row