Application_Form/app/views/admin/seminars/seminar_signup.html.erb

22 lines
693 B
Plaintext

<span id="index_table" style="display: inline-block;">
<script>
if(document.querySelectorAll("#orbit-bar").length==0) location.reload();
</script>
<% if @can_edit %>
<ul class="pull-right"><li><a href="?type=" class="btn"><%= t('seminar.dashboard') %></a></li><li><a href="?type=table" class="btn"><%= t('seminar.table') %></a></li></ul>
<% end %>
<% if params[:type] == "table" || (!@can_edit) %>
<div style="clear: both;"></div>
<%= render :partial => 'seminar_signup_table' %>
<% else %>
<%= render :partial => 'seminar_signup_dashboard' %>
<% end %>
<style type="text/css">
.pull-right li{
float: left;
}
li{
list-style: none;
}
</style>