test/dummy/app/views/components/_button.html.erb in bs-helper-0.1.3 vs test/dummy/app/views/components/_button.html.erb in bs-helper-0.1.4

- old
+ new

@@ -34,15 +34,25 @@ <div class="bs-docs-example"> <%= form_tag '/components/update' do %> <%= btn('I am a submit.', type: 'submit') %> <%= btn('I am a submit.', type: 'submit', icon: 'plus', confirm: 'are you sure?', disable_with: 'go go go') %> <% end %> + + <%= form_tag '#', data: {readonly: true} do %> + <%= btn('You can not submit.', type: 'submit') %> + <%= btn('You can not submit.', type: 'submit', icon: 'plus', confirm: 'are you sure?', disable_with: 'go go go') %> + <% end %> </div> <pre class="prettyprint linenums lang-erb"> &lt;%= btn('I am a submit.', type: 'submit') %&gt; &lt;%= btn('I am a submit.', type: 'submit', icon: 'plus', confirm: 'are you sure?', disable_with: 'go go go') %&gt; + +&lt;%= form_tag '#', data: {readonly: true} do %&gt; + &lt;%= btn('You can not submit.', type: 'submit') %&gt; + &lt;%= btn('You can not submit.', type: 'submit', icon: 'plus', confirm: 'are you sure?', disable_with: 'go go go') %&gt; +&lt;% end %&gt; </pre> <h3>Button group</h3> <div class="bs-docs-example"> \ No newline at end of file