small changes

This commit is contained in:
Andreas Stephanides
2013-03-12 15:09:39 +01:00
parent 24694612e8
commit 96278af065
4 changed files with 5 additions and 4 deletions

View File

@@ -13,6 +13,6 @@ class ApplicationController < ActionController::Base
end
end
def default_url_options
{locale: I18n.locale, host:"128.131.95.212"}
{locale: I18n.locale, host:"glonass.htu.tuwien.ac.at"}
end
end

View File

@@ -6,7 +6,8 @@
<li><%= link_to I18n.t(:info,:scope=>'home' ) %></li>
<li><%= link_to I18n.t(:studien,:scope=>'home' ), studien_path %>
</li>
<li><%= link_to "wiki intern", page_path(1) %>
</li>
</ul>
<% if user_signed_in? %>
<li>Logged in as : <%= current_user.email %>

View File

@@ -2,7 +2,7 @@
<%= semantic_form_for @page do |f| %>
<%= f.inputs do %>
<%= f.input :name %>
<%= f.input :body, :as=>:text,:input_html=>{:style=>"width:100%"} %>
<%= f.input :body, :as=>:text,:input_html=>{:style=>"width:100%;font-familiy:Times New Roman;"} %>
<%= f.input :change_comment %>
<% end %>
<%= tinymce %>

View File

@@ -2,7 +2,7 @@
= breadcrumbs(@page)
%h4
= "Page name: #{@page.name}"
= "#{@page.name}"
= link_to '(Edit)', edit_page_path(@page)
= link_to '(Destroy)', @page, :remote => true, :confirm => 'Are you sure?', :method => :delete