views:

15

answers:

1

I want to build a website which can generate a specific employments contracts depends on the users(would be employer or HR manager) inputs and type of the employment.

But now, I found it is damn hard to create pages and pages just because they have the different format, e.g the full-time employment contract will not have the sections on the part-time employments, the sales job will have more regulations than the others , so if I do have 50 positions , 20 cities , 3 type of employments and etc. . I am totally missed how to develop this , the only better idea on top of my head is use yml or xml sort of thing and then convert the data into the certain template, but it is only a guess, can any snr developer give me some idea ?

Thanks

A: 

It's always nice using partials Based on the @position.is_a? Manager object you can decide which partial you should render.

BobiYo