# Epic OP-1881 - Apply new button styling in plugins

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-1881

## Detailed specification

### Motivation and background information

### Acceptance criteria

### Out of scope

| Attribute | Value |
| --- | --- |
| Mockups |  |

## Planning

| Attribute | Value |
| --- | --- |
| Roadmap |  |
| Date | 2015-05-09 |
| Votes |  |
| List |  |
| Target versions | 5.0.0 |
| Sprint | 5.0.0 |
| Backlog bucket |  |
| Relevance |  |

## Subitems

_No work packages_

## Bugs and other work packages

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Enterprise plan |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Designer |  |
| Developers |  |
| Requested by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| Work |  |

## Description

**As** a developer  
**I want** that buttons in plugins are styled in the same way as in the core,  
**so that** changes to the core styles are also reflected on plugin buttons.

### Acceptance criteria

  - change usages of `styled_submit_tag` (or `submit_tag`) to `styled_button_tag`)
  - change usages of `f.submit` to `f.button` (you can’t use `::before` pseudo-selectors on `<input>` tags)
  - apply relevant icon modifiers, e.g. `-success -with-icon icon-yes`

### Note on sub-stories

I tried to only include plugins as substory, that add buttons and therefore will need a re-styling. However, I was not always sure if a certain plugin touches buttons. Therefore I created sub stories wherever I assumed buttons to be touched by the plugin.

**tl; dr:** Some sub-stories might be resolved by not changing any code.
