diff options
Diffstat (limited to 'users/app/views/users/_legend_and_submit.html.haml')
-rw-r--r-- | users/app/views/users/_legend_and_submit.html.haml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/users/app/views/users/_legend_and_submit.html.haml b/users/app/views/users/_legend_and_submit.html.haml new file mode 100644 index 0000000..cc172e9 --- /dev/null +++ b/users/app/views/users/_legend_and_submit.html.haml @@ -0,0 +1,10 @@ +%legend + = t(legend) += yield +.pull-right + - if local_assigns[:with_cancel] + = f.button :submit, :class => 'btn-primary' + = link_to t(:cancel), root_url, :class => :btn + - else + = f.button :submit +.clearfix |